{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}R:\WSV2\TBu_BMa\Subsidies Project\Results\Estimates_for_plots_longer_wondow_new_ref3.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}15 Jun 2023, 09:23:30
{txt}
{com}. set more off
{txt}
{com}. 
. xtset id2

{txt}{col 1}Panel variable: {res}id2{txt} (unbalanced)

{com}. 
. 
. 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. *********************************************
. ***AUSTRIA, 2009, UNIT SALES, SUBSIDIZED
. *********************************************
. quietly reghdfe dlogunits i.presub6af9##ib1.treataf i.presub5af9##ib1.treataf i.presub4af9##ib1.treataf i.presub3af9##ib1.treataf i.presub2af9##ib1.treataf i.presub1af9##ib1.treataf i.sub1af9##ib1.treataf i.sub2af9##ib1.treataf i.sub3af9##ib1.treataf i.sub4af9##ib1.treataf i.postsub1af9##ib1.treataf i.postsub2af9##ib1.treataf i.postsub3af9##ib1.treataf i.postsub4af9##ib1.treataf i.postsub5af9##ib1.treataf i.postsub6af9##ib1.treataf mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. 
. est store subu
{txt}
{com}.                 
.         nlcom _b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}_b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0137711{col 26}{space 2} .1215705{col 37}{space 1}   -0.11{col 46}{space 3}0.910{col 54}{space 4}-.2520449{col 67}{space 3} .2245026
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1402994{col 26}{space 2} .1238797{col 37}{space 1}    1.13{col 46}{space 3}0.257{col 54}{space 4}-.1025002{col 67}{space 3} .3830991
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2083041{col 26}{space 2} .0596505{col 37}{space 1}    3.49{col 46}{space 3}0.000{col 54}{space 4} .0913912{col 67}{space 3} .3252169
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1047863{col 26}{space 2} .0862093{col 37}{space 1}   -1.22{col 46}{space 3}0.224{col 54}{space 4}-.2737534{col 67}{space 3} .0641808
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)                       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.2258166{col 26}{space 2} .0862594{col 37}{space 1}   -2.62{col 46}{space 3}0.009{col 54}{space 4}-.3948819{col 67}{space 3}-.0567513
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post 

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .5979906{col 26}{space 2} .1050672{col 37}{space 1}    5.69{col 46}{space 3}0.000{col 54}{space 4} .3920628{col 67}{space 3} .8039185
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .4118736{col 26}{space 2} .1089808{col 37}{space 1}    3.78{col 46}{space 3}0.000{col 54}{space 4} .1982752{col 67}{space 3} .6254721
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .7499965{col 26}{space 2} .1315972{col 37}{space 1}    5.70{col 46}{space 3}0.000{col 54}{space 4} .4920708{col 67}{space 3} 1.007922
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .7318225{col 26}{space 2} .1354255{col 37}{space 1}    5.40{col 46}{space 3}0.000{col 54}{space 4} .4663934{col 67}{space 3} .9972515
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .459826{col 26}{space 2} .1382016{col 37}{space 1}    3.33{col 46}{space 3}0.001{col 54}{space 4} .1889558{col 67}{space 3} .7306962
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .6361859{col 26}{space 2} .1469806{col 37}{space 1}    4.33{col 46}{space 3}0.000{col 54}{space 4} .3481092{col 67}{space 3} .9242625
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta", replace)       idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta{rm}
saved
{p_end}

{com}. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .4487739{col 26}{space 2} .1551544{col 37}{space 1}    2.89{col 46}{space 3}0.004{col 54}{space 4} .1446768{col 67}{space 3}  .752871
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta", replace)       idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3312001{col 26}{space 2} .1485566{col 37}{space 1}    2.23{col 46}{space 3}0.026{col 54}{space 4} .0400346{col 67}{space 3} .6223657
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta", replace)       idstr(7)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3050279{col 26}{space 2}  .155298{col 37}{space 1}    1.96{col 46}{space 3}0.050{col 54}{space 4} .0006495{col 67}{space 3} .6094064
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta", replace)       idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3682561{col 26}{space 2} .1735909{col 37}{space 1}    2.12{col 46}{space 3}0.034{col 54}{space 4} .0280241{col 67}{space 3}  .708488
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta", replace)       idstr(9)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 
. lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])              

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af9 + 1.presub1af9 + 1.sub1af9 + 1.sub2af9 + 1.sub3af9 + 1.sub4af9 + 1.postsub1af9 + 1.postsub2af9 + 1.postsub3af9 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .4487739{col 26}{space 2} .1551544{col 37}{space 1}    2.89{col 46}{space 3}0.004{col 54}{space 4} .1446453{col 67}{space 3} .7529025
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta"
{txt}
{com}.                 
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}.         
. ***AUSTRIA, 2009, UNIT SALES, NON-SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. quietly reghdfe dlogunits i.presub6af9##i.treataf i.presub5af9##i.treataf i.presub4af9##i.treataf i.presub3af9##i.treataf i.presub2af9##i.treataf i.presub1af9##i.treataf i.sub1af9##i.treataf i.sub2af9##i.treataf i.sub3af9##i.treataf i.sub4af9##i.treataf i.postsub1af9##i.treataf i.postsub2af9##i.treataf i.postsub3af9##i.treataf i.postsub4af9##i.treataf i.postsub5af9##i.treataf i.postsub6af9##i.treataf  mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
.         nlcom _b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}_b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  -.12308{col 26}{space 2} .0470602{col 37}{space 1}   -2.62{col 46}{space 3}0.009{col 54}{space 4}-.2153163{col 67}{space 3}-.0308438
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.072879{col 26}{space 2} .0449515{col 37}{space 1}   -1.62{col 46}{space 3}0.105{col 54}{space 4}-.1609823{col 67}{space 3} .0152244
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0886981{col 26}{space 2} .0257424{col 37}{space 1}   -3.45{col 46}{space 3}0.001{col 54}{space 4}-.1391524{col 67}{space 3}-.0382439
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0391479{col 26}{space 2} .0389611{col 37}{space 1}    1.00{col 46}{space 3}0.315{col 54}{space 4}-.0372144{col 67}{space 3} .1155102
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)                       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0008767{col 26}{space 2} .0423382{col 37}{space 1}   -0.02{col 46}{space 3}0.983{col 54}{space 4}-.0838579{col 67}{space 3} .0821046
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post 

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0805933{col 26}{space 2} .0493677{col 37}{space 1}    1.63{col 46}{space 3}0.103{col 54}{space 4}-.0161657{col 67}{space 3} .1773524
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0468536{col 26}{space 2} .0520818{col 37}{space 1}    0.90{col 46}{space 3}0.368{col 54}{space 4}-.0552249{col 67}{space 3} .1489322
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1610979{col 26}{space 2} .0678402{col 37}{space 1}    2.37{col 46}{space 3}0.018{col 54}{space 4} .0281335{col 67}{space 3} .2940622
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)       idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1221173{col 26}{space 2} .0684238{col 37}{space 1}    1.78{col 46}{space 3}0.074{col 54}{space 4}-.0119909{col 67}{space 3} .2562254
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1454577{col 26}{space 2} .0710163{col 37}{space 1}    2.05{col 46}{space 3}0.041{col 54}{space 4} .0062683{col 67}{space 3} .2846471
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)      idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta{rm}
saved
{p_end}

{com}.                                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1513949{col 26}{space 2} .0778141{col 37}{space 1}    1.95{col 46}{space 3}0.052{col 54}{space 4}-.0011178{col 67}{space 3} .3039077
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta", replace)      idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta{rm}
saved
{p_end}

{com}. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1669953{col 26}{space 2} .0812835{col 37}{space 1}    2.05{col 46}{space 3}0.040{col 54}{space 4} .0076825{col 67}{space 3} .3263081
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1774945{col 26}{space 2} .0870488{col 37}{space 1}    2.04{col 46}{space 3}0.041{col 54}{space 4}  .006882{col 67}{space 3}  .348107
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta", replace)      idstr(7)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1500254{col 26}{space 2} .0892587{col 37}{space 1}    1.68{col 46}{space 3}0.093{col 54}{space 4}-.0249184{col 67}{space 3} .3249693
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta", replace)      idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1924834{col 26}{space 2} .0924093{col 37}{space 1}    2.08{col 46}{space 3}0.037{col 54}{space 4} .0113645{col 67}{space 3} .3736023
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta", replace)      idstr(9)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta{rm}
saved
{p_end}

{com}.                 
. *est restore nonsubu
.                 
. *lincom  (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])
. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta"
{txt}
{com}.                 
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
.                 
.         
. preserve                                
{txt}
{com}. ***AUSTRIA, 2009, PRICES, SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. quietly reghdfe dlogunits i.presub6af9##ib1.treataf i.presub5af9##ib1.treataf i.presub4af9##ib1.treataf i.presub3af9##ib1.treataf i.presub2af9##ib1.treataf i.presub1af9##ib1.treataf i.sub1af9##ib1.treataf i.sub2af9##ib1.treataf i.sub3af9##ib1.treataf i.sub4af9##ib1.treataf i.postsub1af9##ib1.treataf i.postsub2af9##ib1.treataf i.postsub3af9##ib1.treataf i.postsub4af9##ib1.treataf i.postsub5af9##ib1.treataf i.postsub6af9##ib1.treataf  mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6af9##ib1.treataf i.presub5af9##ib1.treataf i.presub4af9##ib1.treataf i.presub3af9##ib1.treataf i.presub2af9##ib1.treataf i.presub1af9##ib1.treataf i.sub1af9##ib1.treataf i.sub2af9##ib1.treataf i.sub3af9##ib1.treataf i.sub4af9##ib1.treataf i.postsub1af9##ib1.treataf i.postsub2af9##ib1.treataf i.postsub3af9##ib1.treataf i.postsub4af9##ib1.treataf i.postsub5af9##ib1.treataf i.postsub6af9##ib1.treataf mage mage2 if samples , absorb(id2 cmt) cluster(id)
{txt}
{com}.                 est store subp
{txt}
{com}.                 
.                 nlcom _b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}_b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0177854{col 26}{space 2} .0080293{col 37}{space 1}    2.22{col 46}{space 3}0.027{col 54}{space 4} .0020483{col 67}{space 3} .0335226
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0134463{col 26}{space 2} .0086305{col 37}{space 1}    1.56{col 46}{space 3}0.119{col 54}{space 4}-.0034692{col 67}{space 3} .0303618
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0096797{col 26}{space 2} .0046551{col 37}{space 1}    2.08{col 46}{space 3}0.038{col 54}{space 4} .0005559{col 67}{space 3} .0188036
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)       idstr(-4)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0095271{col 26}{space 2} .0076656{col 37}{space 1}    1.24{col 46}{space 3}0.214{col 54}{space 4}-.0054973{col 67}{space 3} .0245514
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)                       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .023838{col 26}{space 2} .0085559{col 37}{space 1}    2.79{col 46}{space 3}0.005{col 54}{space 4} .0070688{col 67}{space 3} .0406072
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)       idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post 

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0244329{col 26}{space 2} .0093724{col 37}{space 1}    2.61{col 46}{space 3}0.009{col 54}{space 4} .0060633{col 67}{space 3} .0428025
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)       idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0240863{col 26}{space 2} .0093342{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4} .0057916{col 67}{space 3} .0423811
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0226855{col 26}{space 2} .0123739{col 37}{space 1}    1.83{col 46}{space 3}0.067{col 54}{space 4}-.0015669{col 67}{space 3}  .046938
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0232641{col 26}{space 2} .0123941{col 37}{space 1}    1.88{col 46}{space 3}0.061{col 54}{space 4} -.001028{col 67}{space 3} .0475562
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0160937{col 26}{space 2}  .013366{col 37}{space 1}    1.20{col 46}{space 3}0.229{col 54}{space 4}-.0101032{col 67}{space 3} .0422907
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0371233{col 26}{space 2} .0144725{col 37}{space 1}    2.57{col 46}{space 3}0.010{col 54}{space 4} .0087578{col 67}{space 3} .0654889
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta", replace)      idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta{rm}
saved
{p_end}

{com}. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0333643{col 26}{space 2} .0143576{col 37}{space 1}    2.32{col 46}{space 3}0.020{col 54}{space 4}  .005224{col 67}{space 3} .0615047
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0249873{col 26}{space 2} .0151858{col 37}{space 1}    1.65{col 46}{space 3}0.100{col 54}{space 4}-.0047763{col 67}{space 3} .0547509
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta", replace)      idstr(7)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .023827{col 26}{space 2} .0161434{col 37}{space 1}    1.48{col 46}{space 3}0.140{col 54}{space 4}-.0078134{col 67}{space 3} .0554675
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta", replace)      idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0357561{col 26}{space 2} .0172555{col 37}{space 1}    2.07{col 46}{space 3}0.038{col 54}{space 4}  .001936{col 67}{space 3} .0695762
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta", replace)      idstr(9)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta{rm}
saved
{p_end}

{com}.                 
. *est restore subp               
.                 
. *lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])
. 
. *lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])
. 
. 
. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta"
{txt}
{com}.                 
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve                
{txt}
{com}. 
. ***AUSTRIA, 2009, PRICES, NON-SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. quietly reghdfe dlogunits i.presub6af9##ib1.treataf i.presub5af9##ib1.treataf i.presub4af9##ib1.treataf i.presub3af9##ib1.treataf i.presub2af9##ib1.treataf i.presub1af9##ib1.treataf i.sub1af9##ib1.treataf i.sub2af9##ib1.treataf i.sub3af9##ib1.treataf i.sub4af9##ib1.treataf i.postsub1af9##ib1.treataf i.postsub2af9##ib1.treataf i.postsub3af9##ib1.treataf i.postsub4af9##ib1.treataf i.postsub5af9##ib1.treataf i.postsub6af9##ib1.treataf mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6af9##i.treataf i.presub5af9##i.treataf i.presub4af9##i.treataf i.presub3af9##i.treataf i.presub2af9##i.treataf i.presub1af9##i.treataf i.sub1af9##i.treataf i.sub2af9##i.treataf i.sub3af9##i.treataf i.sub4af9##i.treataf i.postsub1af9##i.treataf i.postsub2af9##i.treataf i.postsub3af9##i.treataf i.postsub4af9##i.treataf i.postsub5af9##i.treataf  i.postsub6af9##i.treataf   mage mage2 if samples , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp
{txt}
{com}. 
.         nlcom _b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}_b[1.presub6af9]-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0047932{col 26}{space 2} .0047329{col 37}{space 1}    1.01{col 46}{space 3}0.311{col 54}{space 4}-.0044832{col 67}{space 3} .0140696
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0067857{col 26}{space 2} .0045408{col 37}{space 1}    1.49{col 46}{space 3}0.135{col 54}{space 4} -.002114{col 67}{space 3} .0156855
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0004192{col 26}{space 2} .0023955{col 37}{space 1}   -0.17{col 46}{space 3}0.861{col 54}{space 4}-.0051144{col 67}{space 3}  .004276
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 *nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post
.                 *est store nsp5
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)     idstr(-2)                       
.                 
. *est restore nonsubp    
.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0056746{col 26}{space 2} .0041002{col 37}{space 1}    1.38{col 46}{space 3}0.166{col 54}{space 4}-.0023617{col 67}{space 3} .0137109
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post 

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0059178{col 26}{space 2} .0051642{col 37}{space 1}   -1.15{col 46}{space 3}0.252{col 54}{space 4}-.0160395{col 67}{space 3}  .004204
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)      idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 *nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post
.                 *est store nsp8
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)     idstr(1)        
.                 
. *est restore nonsubp    
.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0069142{col 26}{space 2} .0069373{col 37}{space 1}    1.00{col 46}{space 3}0.319{col 54}{space 4}-.0066826{col 67}{space 3}  .020511
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0088713{col 26}{space 2}  .007131{col 37}{space 1}    1.24{col 46}{space 3}0.213{col 54}{space 4}-.0051052{col 67}{space 3} .0228478
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 *nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post
.                 *est store nsp11
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)    idstr(4)                
.                                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0176266{col 26}{space 2} .0085011{col 37}{space 1}    2.07{col 46}{space 3}0.038{col 54}{space 4} .0009647{col 67}{space 3} .0342885
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta", replace)     idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta{rm}
saved
{p_end}

{com}. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0168146{col 26}{space 2} .0087486{col 37}{space 1}    1.92{col 46}{space 3}0.055{col 54}{space 4}-.0003325{col 67}{space 3} .0339616
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta", replace)     idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0212785{col 26}{space 2} .0089913{col 37}{space 1}    2.37{col 46}{space 3}0.018{col 54}{space 4}  .003656{col 67}{space 3} .0389011
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta", replace)     idstr(7)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0227828{col 26}{space 2} .0097718{col 37}{space 1}    2.33{col 46}{space 3}0.020{col 54}{space 4} .0036304{col 67}{space 3} .0419352
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta", replace)     idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]), post

       {txt}_nl_1: {res}(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9]+_b[1.postsub2af9]+_b[1.postsub3af9]+_b[1.postsub4af9]+_b[1.postsub5af9]+_b[1.postsub6af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0218241{col 26}{space 2} .0099616{col 37}{space 1}    2.19{col 46}{space 3}0.028{col 54}{space 4} .0022996{col 67}{space 3} .0413485
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta", replace)     idstr(9)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.         
. lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af9 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0001076{col 26}{space 2} .0037727{col 37}{space 1}   -0.03{col 46}{space 3}0.977{col 54}{space 4}-.0075027{col 67}{space 3} .0072875
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af9 + 1.presub1af9 + 1.sub1af9 + 1.sub2af9 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0056008{col 26}{space 2} .0052658{col 37}{space 1}   -1.06{col 46}{space 3}0.288{col 54}{space 4}-.0159226{col 67}{space 3}  .004721
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. lincom (_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9]+_b[1.presub2af9]+_b[1.presub1af9]+_b[1.sub1af9]+_b[1.sub2af9]+_b[1.sub3af9]+_b[1.sub4af9]+_b[1.postsub1af9])-(_b[1.presub6af9]+_b[1.presub5af9]+_b[1.presub4af9]+_b[1.presub3af9])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af9 + 1.presub1af9 + 1.sub1af9 + 1.sub2af9 + 1.sub3af9 + 1.sub4af9 + 1.postsub1af9 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .0098067{col 26}{space 2} .0077224{col 37}{space 1}    1.27{col 46}{space 3}0.204{col 54}{space 4}-.0053305{col 67}{space 3} .0249439
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta"
{txt}
{com}.                 
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.                 gen program="at09"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2009_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2009_Coeff_6.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. *********************************************
. ***AUSTRIA, 2010, FF UNIT SALES, SUBSIDIZED
. *********************************************
. quietly reghdfe dlogunits i.presub6af10##ib1.treataf i.presub5af10##ib1.treataf i.presub4af10##ib1.treataf i.presub3af10##ib1.treataf i.presub2af10##ib1.treataf i.presub1af10##ib1.treataf i.sub1af10##ib1.treataf i.sub2af10##ib1.treataf i.sub3af10##ib1.treataf i.postsub1af10##ib1.treataf i.postsub2af10##ib1.treataf i.postsub3af10##ib1.treataf i.postsub4af10##ib1.treataf  i.postsub5af10##ib1.treataf  i.postsub6af10##ib1.treataf mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store subu
{txt}
{com}. 
.                 nlcom _b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}_b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0920951{col 26}{space 2} .1151533{col 37}{space 1}    0.80{col 46}{space 3}0.424{col 54}{space 4}-.1336012{col 67}{space 3} .3177914
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.043841{col 26}{space 2} .1033538{col 37}{space 1}   -0.42{col 46}{space 3}0.671{col 54}{space 4}-.2464108{col 67}{space 3} .1587287
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0733174{col 26}{space 2} .0891191{col 37}{space 1}   -0.82{col 46}{space 3}0.411{col 54}{space 4}-.2479877{col 67}{space 3} .1013529
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1085037{col 26}{space 2} .0794215{col 37}{space 1}   -1.37{col 46}{space 3}0.172{col 54}{space 4}-.2641669{col 67}{space 3} .0471595
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.2344265{col 26}{space 2} .0955633{col 37}{space 1}   -2.45{col 46}{space 3}0.014{col 54}{space 4}-.4217271{col 67}{space 3}-.0471259
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}.                                                                                         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2792564{col 26}{space 2} .1083545{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4} .0668855{col 67}{space 3} .4916272
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.                                   
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3757919{col 26}{space 2} .1155424{col 37}{space 1}    3.25{col 46}{space 3}0.001{col 54}{space 4}  .149333{col 67}{space 3} .6022508
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3321724{col 26}{space 2} .1217044{col 37}{space 1}    2.73{col 46}{space 3}0.006{col 54}{space 4} .0936363{col 67}{space 3} .5707086
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1395944{col 26}{space 2} .1223335{col 37}{space 1}    1.14{col 46}{space 3}0.254{col 54}{space 4}-.1001748{col 67}{space 3} .3793636
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0051531{col 26}{space 2} .1245582{col 37}{space 1}   -0.04{col 46}{space 3}0.967{col 54}{space 4}-.2492827{col 67}{space 3} .2389766
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0154269{col 26}{space 2} .1336915{col 37}{space 1}   -0.12{col 46}{space 3}0.908{col 54}{space 4}-.2774574{col 67}{space 3} .2466036
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta", replace)       idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0490651{col 26}{space 2}  .133604{col 37}{space 1}   -0.37{col 46}{space 3}0.713{col 54}{space 4}-.3109241{col 67}{space 3} .2127939
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta", replace)       idstr(6)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1777955{col 26}{space 2} .1450806{col 37}{space 1}   -1.23{col 46}{space 3}0.220{col 54}{space 4}-.4621482{col 67}{space 3} .1065573
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta", replace)       idstr(7)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.184662{col 26}{space 2} .1444325{col 37}{space 1}   -1.28{col 46}{space 3}0.201{col 54}{space 4}-.4677444{col 67}{space 3} .0984205
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta", replace)       idstr(8)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta{rm}
saved
{p_end}

{com}.                 
. *est restore subu
. 
. *lincom _b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])
.                 
.                 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta"
{txt}
{com}.                 
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. ***AUSTRIA, 2010, FF, UNIT SALES, NON-SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. 
. quietly reghdfe dlogunits i.presub6af10##i.treataf i.presub5af10##i.treataf i.presub4af10##i.treataf i.presub3af10##i.treataf i.presub2af10##i.treataf i.presub1af10##i.treataf i.sub1af10##i.treataf i.sub2af10##i.treataf i.sub3af10##i.treataf i.postsub1af10##i.treataf i.postsub2af10##i.treataf i.postsub3af10##i.treataf i.postsub4af10##i.treataf i.postsub5af10##i.treataf i.postsub6af10##i.treataf mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
.                 nlcom _b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}_b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0085118{col 26}{space 2} .0619337{col 37}{space 1}   -0.14{col 46}{space 3}0.891{col 54}{space 4}-.1298997{col 67}{space 3} .1128761
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0100545{col 26}{space 2} .0544851{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4}-.1168435{col 67}{space 3} .0967344
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0315357{col 26}{space 2} .0495255{col 37}{space 1}   -0.64{col 46}{space 3}0.524{col 54}{space 4}-.1286039{col 67}{space 3} .0655324
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0941905{col 26}{space 2} .0401631{col 37}{space 1}   -2.35{col 46}{space 3}0.019{col 54}{space 4}-.1729088{col 67}{space 3}-.0154722
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0427749{col 26}{space 2}  .052105{col 37}{space 1}   -0.82{col 46}{space 3}0.412{col 54}{space 4}-.1448988{col 67}{space 3} .0593491
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}.                                                                                                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0641527{col 26}{space 2} .0558093{col 37}{space 1}   -1.15{col 46}{space 3}0.250{col 54}{space 4}-.1735369{col 67}{space 3} .0452314
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.                                   
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0262333{col 26}{space 2} .0641679{col 37}{space 1}    0.41{col 46}{space 3}0.683{col 54}{space 4}-.0995335{col 67}{space 3} .1520001
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0167151{col 26}{space 2} .0645171{col 37}{space 1}    0.26{col 46}{space 3}0.796{col 54}{space 4} -.109736{col 67}{space 3} .1431663
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)       idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0205099{col 26}{space 2} .0699322{col 37}{space 1}   -0.29{col 46}{space 3}0.769{col 54}{space 4}-.1575745{col 67}{space 3} .1165547
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1526098{col 26}{space 2} .0723167{col 37}{space 1}   -2.11{col 46}{space 3}0.035{col 54}{space 4}-.2943479{col 67}{space 3}-.0108717
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)      idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1061372{col 26}{space 2}  .077453{col 37}{space 1}   -1.37{col 46}{space 3}0.171{col 54}{space 4}-.2579423{col 67}{space 3}  .045668
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta", replace)      idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.012796{col 26}{space 2} .0819596{col 37}{space 1}   -0.16{col 46}{space 3}0.876{col 54}{space 4}-.1734338{col 67}{space 3} .1478419
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta", replace)      idstr(6)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.072895{col 26}{space 2} .0868126{col 37}{space 1}   -0.84{col 46}{space 3}0.401{col 54}{space 4}-.2430446{col 67}{space 3} .0972546
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta", replace)      idstr(7)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0330394{col 26}{space 2} .0893731{col 37}{space 1}   -0.37{col 46}{space 3}0.712{col 54}{space 4}-.2082074{col 67}{space 3} .1421287
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta", replace)      idstr(8)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta{rm}
saved
{p_end}

{com}.                 
. 
.                 
.                 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta"
{txt}
{com}.                 
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. 
. preserve
{txt}
{com}. 
. ***AUSTRIA, 2010, FF, PRICES, SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. quietly reghdfe dlogunits i.presub6af10##ib1.treataf i.presub5af10##ib1.treataf i.presub4af10##ib1.treataf i.presub3af10##ib1.treataf i.presub2af10##ib1.treataf i.presub1af10##ib1.treataf i.sub1af10##ib1.treataf i.sub2af10##ib1.treataf i.sub3af10##ib1.treataf i.postsub1af10##ib1.treataf i.postsub2af10##ib1.treataf i.postsub3af10##ib1.treataf i.postsub4af10##ib1.treataf i.postsub5af10##ib1.treataf i.postsub6af10##ib1.treataf mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
.         
. quietly reghdfe dlogprice i.presub6af10##ib1.treataf i.presub5af10##ib1.treataf i.presub4af10##ib1.treataf i.presub3af10##ib1.treataf i.presub2af10##ib1.treataf i.presub1af10##ib1.treataf i.sub1af10##ib1.treataf i.sub2af10##ib1.treataf i.sub3af10##ib1.treataf i.postsub1af10##ib1.treataf i.postsub2af10##ib1.treataf i.postsub3af10##ib1.treataf i.postsub4af10##ib1.treataf i.postsub5af10##ib1.treataf i.postsub6af10##ib1.treataf  mage mage2 if samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store subp
{txt}
{com}. 
.                 nlcom _b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}_b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.002847{col 26}{space 2}  .011388{col 37}{space 1}   -0.25{col 46}{space 3}0.803{col 54}{space 4}-.0251671{col 67}{space 3} .0194731
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0100179{col 26}{space 2} .0099553{col 37}{space 1}   -1.01{col 46}{space 3}0.314{col 54}{space 4}  -.02953{col 67}{space 3} .0094942
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0123979{col 26}{space 2} .0071113{col 37}{space 1}   -1.74{col 46}{space 3}0.081{col 54}{space 4}-.0263357{col 67}{space 3} .0015399
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)       idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0071051{col 26}{space 2} .0072009{col 37}{space 1}    0.99{col 46}{space 3}0.324{col 54}{space 4}-.0070085{col 67}{space 3} .0212186
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0076513{col 26}{space 2} .0083685{col 37}{space 1}    0.91{col 46}{space 3}0.361{col 54}{space 4}-.0087506{col 67}{space 3} .0240532
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)       idstr(-1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta{rm}
saved
{p_end}

{com}.                                                                                         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 *nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post
.                 *est store sp7
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)      idstr(0)
.                                   
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0004695{col 26}{space 2} .0102707{col 37}{space 1}    0.05{col 46}{space 3}0.964{col 54}{space 4}-.0196607{col 67}{space 3} .0205997
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0119004{col 26}{space 2} .0113786{col 37}{space 1}   -1.05{col 46}{space 3}0.296{col 54}{space 4} -.034202{col 67}{space 3} .0104012
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0038314{col 26}{space 2} .0115312{col 37}{space 1}   -0.33{col 46}{space 3}0.740{col 54}{space 4}-.0264321{col 67}{space 3} .0187694
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0021146{col 26}{space 2}  .011943{col 37}{space 1}   -0.18{col 46}{space 3}0.859{col 54}{space 4}-.0255226{col 67}{space 3} .0212933
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .000195{col 26}{space 2} .0128714{col 37}{space 1}    0.02{col 46}{space 3}0.988{col 54}{space 4}-.0250326{col 67}{space 3} .0254225
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta", replace)      idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0020843{col 26}{space 2} .0140942{col 37}{space 1}   -0.15{col 46}{space 3}0.882{col 54}{space 4}-.0297084{col 67}{space 3} .0255398
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta", replace)      idstr(6)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0094558{col 26}{space 2} .0149513{col 37}{space 1}    0.63{col 46}{space 3}0.527{col 54}{space 4}-.0198482{col 67}{space 3} .0387597
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta", replace)      idstr(7)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0054015{col 26}{space 2} .0154809{col 37}{space 1}   -0.35{col 46}{space 3}0.727{col 54}{space 4}-.0357435{col 67}{space 3} .0249405
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta", replace)      idstr(8)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}. 
. lincom (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af10 + 1.presub1af10 + 1.sub1af10 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0045017{col 26}{space 2} .0092002{col 37}{space 1}   -0.49{col 46}{space 3}0.625{col 54}{space 4}-.0225357{col 67}{space 3} .0135323
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 
.                 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta"
{txt}
{com}.                 
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. 
. preserve
{txt}
{com}. 
. ***AUSTRIA, 2010, FF, PRICES, NON-SUBSIDIZED
. 
. egen cmt=group(country month treataf)
{txt}(772,376 missing values generated)

{com}. 
. quietly reghdfe dlogunits i.presub6af10##ib1.treataf i.presub5af10##ib1.treataf i.presub4af10##ib1.treataf i.presub3af10##ib1.treataf i.presub2af10##ib1.treataf i.presub1af10##ib1.treataf i.sub1af10##ib1.treataf i.sub2af10##ib1.treataf i.sub3af10##ib1.treataf i.postsub1af10##ib1.treataf i.postsub2af10##ib1.treataf i.postsub3af10##ib1.treataf i.postsub4af10##ib1.treataf i.postsub5af10##ib1.treataf  i.postsub6af10##ib1.treataf mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6af10##i.treataf i.presub5af10##i.treataf i.presub4af10##i.treataf i.presub3af10##i.treataf i.presub2af10##i.treataf i.presub1af10##i.treataf i.sub1af10##i.treataf i.sub2af10##i.treataf i.sub3af10##i.treataf i.postsub1af10##i.treataf i.postsub2af10##i.treataf i.postsub3af10##i.treataf i.postsub4af10##i.treataf i.postsub5af10##i.treataf i.postsub6af10##i.treataf mage mage2 if samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp       
{txt}
{com}. 
.         nlcom _b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}_b[1.presub6af10]-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0056219{col 26}{space 2} .0061384{col 37}{space 1}   -0.92{col 46}{space 3}0.360{col 54}{space 4}-.0176529{col 67}{space 3} .0064091
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0006514{col 26}{space 2} .0054764{col 37}{space 1}   -0.12{col 46}{space 3}0.905{col 54}{space 4}-.0113849{col 67}{space 3} .0100821
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0010105{col 26}{space 2} .0047057{col 37}{space 1}    0.21{col 46}{space 3}0.830{col 54}{space 4}-.0082126{col 67}{space 3} .0102336
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0030269{col 26}{space 2} .0038629{col 37}{space 1}    0.78{col 46}{space 3}0.433{col 54}{space 4}-.0045442{col 67}{space 3} .0105981
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)      idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta{rm}
saved
{p_end}

{com}.                                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0035405{col 26}{space 2} .0049769{col 37}{space 1}    0.71{col 46}{space 3}0.477{col 54}{space 4} -.006214{col 67}{space 3}  .013295
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}.                                                                                                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 *nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post
.                 *est store nsp7
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)     idstr(0)
.                                   
. *est restore nonsubp    
.                 nlcom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0089406{col 26}{space 2}  .006523{col 37}{space 1}    1.37{col 46}{space 3}0.170{col 54}{space 4}-.0038443{col 67}{space 3} .0217255
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)      idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0005024{col 26}{space 2} .0068457{col 37}{space 1}   -0.07{col 46}{space 3}0.941{col 54}{space 4}-.0139198{col 67}{space 3}  .012915
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0017542{col 26}{space 2} .0074863{col 37}{space 1}   -0.23{col 46}{space 3}0.815{col 54}{space 4}-.0164271{col 67}{space 3} .0129186
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom   (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0016697{col 26}{space 2} .0075821{col 37}{space 1}   -0.22{col 46}{space 3}0.826{col 54}{space 4}-.0165303{col 67}{space 3} .0131909
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)     idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0099951{col 26}{space 2} .0080909{col 37}{space 1}    1.24{col 46}{space 3}0.217{col 54}{space 4}-.0058627{col 67}{space 3} .0258529
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta", replace)     idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0087347{col 26}{space 2} .0084572{col 37}{space 1}    1.03{col 46}{space 3}0.302{col 54}{space 4}-.0078411{col 67}{space 3} .0253105
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta", replace)     idstr(6)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0167045{col 26}{space 2} .0092065{col 37}{space 1}    1.81{col 46}{space 3}0.070{col 54}{space 4}-.0013398{col 67}{space 3} .0347489
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta", replace)     idstr(7)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom    (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]), post

       {txt}_nl_1: {res}(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10]+_b[1.sub2af10]+_b[1.sub3af10]+_b[1.postsub1af10]+_b[1.postsub2af10]+_b[1.postsub3af10]+_b[1.postsub4af10]+_b[1.postsub5af10]+_b[1.postsub6af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0105719{col 26}{space 2} .0096711{col 37}{space 1}    1.09{col 46}{space 3}0.274{col 54}{space 4} -.008383{col 67}{space 3} .0295269
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta", replace)     idstr(8)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 
. lincom  (_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10]+_b[1.presub2af10]+_b[1.presub1af10]+_b[1.sub1af10])-(_b[1.presub6af10]+_b[1.presub5af10]+_b[1.presub4af10]+_b[1.presub3af10])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2af10 + 1.presub1af10 + 1.sub1af10 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0007628{col 26}{space 2} .0058129{col 37}{space 1}   -0.13{col 46}{space 3}0.896{col 54}{space 4}-.0121571{col 67}{space 3} .0106315
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 
.                 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta"
{txt}
{com}.                 
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.                 gen program="at10ff"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_ff_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_ff_Coeff_6.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treata)
{txt}(1,740,985 missing values generated)

{com}. 
. ********************************************
. ***AUSTRIA, 2010, WM UNIT SALES, SUBSIDIZED
. ********************************************
. quietly reghdfe dlogunits i.presub6a##ib1.treata i.presub5a##ib1.treata i.presub4a##ib1.treata  i.presub3a##ib1.treata i.presub2a##ib1.treata i.presub1a##ib1.treata i.sub1a##ib1.treata i.sub2a##ib1.treata i.postsub1a##ib1.treata i.postsub2a##ib1.treata i.postsub3a##ib1.treata i.postsub4a##ib1.treata i.postsub5a##ib1.treata i.postsub6a##ib1.treata  mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. est store subu 
{txt}
{com}. 
.                 nlcom _b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}_b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.4815759{col 26}{space 2} .2770373{col 37}{space 1}   -1.74{col 46}{space 3}0.082{col 54}{space 4}-1.024559{col 67}{space 3} .0614072
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.227775{col 26}{space 2} .1715866{col 37}{space 1}   -1.33{col 46}{space 3}0.184{col 54}{space 4}-.5640785{col 67}{space 3} .1085285
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0612933{col 26}{space 2} .1584365{col 37}{space 1}   -0.39{col 46}{space 3}0.699{col 54}{space 4} -.371823{col 67}{space 3} .2492365
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2212267{col 26}{space 2} .1757263{col 37}{space 1}    1.26{col 46}{space 3}0.208{col 54}{space 4}-.1231905{col 67}{space 3} .5656439
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1099572{col 26}{space 2} .2134752{col 37}{space 1}    0.52{col 46}{space 3}0.606{col 54}{space 4}-.3084466{col 67}{space 3}  .528361
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)                               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .491962{col 26}{space 2} .2378724{col 37}{space 1}    2.07{col 46}{space 3}0.039{col 54}{space 4} .0257407{col 67}{space 3} .9581833
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .6870942{col 26}{space 2} .2523496{col 37}{space 1}    2.72{col 46}{space 3}0.006{col 54}{space 4} .1924981{col 67}{space 3}  1.18169
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .691812{col 26}{space 2}  .270084{col 37}{space 1}    2.56{col 46}{space 3}0.010{col 54}{space 4} .1624571{col 67}{space 3} 1.221167
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .279699{col 26}{space 2} .2895593{col 37}{space 1}    0.97{col 46}{space 3}0.334{col 54}{space 4}-.2878268{col 67}{space 3} .8472247
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1330331{col 26}{space 2} .2821774{col 37}{space 1}    0.47{col 46}{space 3}0.637{col 54}{space 4}-.4200245{col 67}{space 3} .6860906
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2275681{col 26}{space 2} .3089148{col 37}{space 1}    0.74{col 46}{space 3}0.461{col 54}{space 4}-.3778937{col 67}{space 3} .8330299
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta", replace)       idstr(5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3258584{col 26}{space 2} .3945634{col 37}{space 1}    0.83{col 46}{space 3}0.409{col 54}{space 4}-.4474716{col 67}{space 3} 1.099188
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta", replace)       idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta{rm}
saved
{p_end}

{com}.                 
.         est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2156605{col 26}{space 2} .4278836{col 37}{space 1}    0.50{col 46}{space 3}0.614{col 54}{space 4} -.622976{col 67}{space 3} 1.054297
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta", replace)       idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta{rm}
saved
{p_end}

{com}.                 
. *est restore subu
. 
. *lincom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta"
{txt}
{com}.                 
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}.                 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treata)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***AUSTRIA, 2010, WM UNIT SALES, NON-SUBSIDIZED         
. quietly reghdfe dlogunits i.presub6a##i.treata i.presub5a##i.treata i.presub4a##i.treata i.presub3a##i.treata i.presub2a##i.treata i.presub1a##i.treata i.sub1a##i.treata i.sub2a##i.treata  i.postsub1a##i.treata i.postsub2a##i.treata i.postsub3a##i.treata i.postsub4a##i.treata i.postsub5a##i.treata i.postsub6a##i.treata mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
.                 nlcom _b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}_b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1083316{col 26}{space 2} .1019945{col 37}{space 1}   -1.06{col 46}{space 3}0.288{col 54}{space 4}-.3082372{col 67}{space 3} .0915739
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1189993{col 26}{space 2} .0745255{col 37}{space 1}    1.60{col 46}{space 3}0.110{col 54}{space 4}-.0270679{col 67}{space 3} .2650665
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1021911{col 26}{space 2} .0695128{col 37}{space 1}   -1.47{col 46}{space 3}0.142{col 54}{space 4}-.2384337{col 67}{space 3} .0340515
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .074363{col 26}{space 2} .0706545{col 37}{space 1}    1.05{col 46}{space 3}0.293{col 54}{space 4}-.0641173{col 67}{space 3} .2128433
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0104715{col 26}{space 2}  .081699{col 37}{space 1}    0.13{col 46}{space 3}0.898{col 54}{space 4}-.1496557{col 67}{space 3} .1705986
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)                               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0728217{col 26}{space 2}  .097937{col 37}{space 1}   -0.74{col 46}{space 3}0.457{col 54}{space 4}-.2647746{col 67}{space 3} .1191313
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1209828{col 26}{space 2} .1017805{col 37}{space 1}   -1.19{col 46}{space 3}0.235{col 54}{space 4}-.3204689{col 67}{space 3} .0785032
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0624269{col 26}{space 2} .1108213{col 37}{space 1}    0.56{col 46}{space 3}0.573{col 54}{space 4}-.1547787{col 67}{space 3} .2796326
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)       idstr(2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .102873{col 26}{space 2} .1114378{col 37}{space 1}    0.92{col 46}{space 3}0.356{col 54}{space 4}-.1155411{col 67}{space 3} .3212871
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0040814{col 26}{space 2} .1137323{col 37}{space 1}   -0.04{col 46}{space 3}0.971{col 54}{space 4}-.2269927{col 67}{space 3} .2188298
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)      idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0907236{col 26}{space 2} .1169071{col 37}{space 1}    0.78{col 46}{space 3}0.438{col 54}{space 4}-.1384101{col 67}{space 3} .3198573
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta", replace)      idstr(5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .363054{col 26}{space 2} .1254757{col 37}{space 1}    2.89{col 46}{space 3}0.004{col 54}{space 4} .1171261{col 67}{space 3} .6089819
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta{rm}
saved
{p_end}

{com}.                 
.         est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3401715{col 26}{space 2} .1315986{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4}  .082243{col 67}{space 3} .5981001
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta", replace)      idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta{rm}
saved
{p_end}

{com}.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta"
{txt}
{com}.                 
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treata)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***AUSTRIA, 2010, WM PRICES, SUBSIDIZED         
. quietly reghdfe dlogunits i.presub6a##ib1.treata i.presub5a##ib1.treata i.presub4a##ib1.treata i.presub3a##ib1.treata i.presub2a##ib1.treata i.presub1a##ib1.treata i.sub1a##ib1.treata i.sub2a##ib1.treata i.postsub1a##ib1.treata i.postsub2a##ib1.treata i.postsub3a##ib1.treata  i.postsub4a##ib1.treata i.postsub5a##ib1.treata i.postsub6a##ib1.treata mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6a##ib1.treata i.presub5a##ib1.treata i.presub4a##ib1.treata i.presub3a##ib1.treata i.presub2a##ib1.treata i.presub1a##ib1.treata i.sub1a##ib1.treata i.sub2a##ib1.treata i.postsub1a##ib1.treata i.postsub2a##ib1.treata i.postsub3a##ib1.treata i.postsub4a##ib1.treata i.postsub5a##ib1.treata i.postsub6a##ib1.treata mage mage2 if samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store subp  
{txt}
{com}. 
.                 nlcom _b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}_b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0065223{col 26}{space 2} .0213566{col 37}{space 1}   -0.31{col 46}{space 3}0.760{col 54}{space 4}-.0483805{col 67}{space 3} .0353359
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0120577{col 26}{space 2} .0157339{col 37}{space 1}   -0.77{col 46}{space 3}0.443{col 54}{space 4}-.0428956{col 67}{space 3} .0187803
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0081505{col 26}{space 2} .0152073{col 37}{space 1}    0.54{col 46}{space 3}0.592{col 54}{space 4}-.0216553{col 67}{space 3} .0379562
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0221642{col 26}{space 2} .0137935{col 37}{space 1}    1.61{col 46}{space 3}0.108{col 54}{space 4}-.0048706{col 67}{space 3} .0491991
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0036463{col 26}{space 2} .0149227{col 37}{space 1}    0.24{col 46}{space 3}0.807{col 54}{space 4}-.0256016{col 67}{space 3} .0328943
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)       idstr(-1)                               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0199483{col 26}{space 2} .0171696{col 37}{space 1}    1.16{col 46}{space 3}0.245{col 54}{space 4}-.0137035{col 67}{space 3}    .0536
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0278134{col 26}{space 2} .0185716{col 37}{space 1}    1.50{col 46}{space 3}0.134{col 54}{space 4}-.0085862{col 67}{space 3}  .064213
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0259755{col 26}{space 2} .0209617{col 37}{space 1}    1.24{col 46}{space 3}0.215{col 54}{space 4}-.0151087{col 67}{space 3} .0670597
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0513176{col 26}{space 2} .0248059{col 37}{space 1}    2.07{col 46}{space 3}0.039{col 54}{space 4} .0026989{col 67}{space 3} .0999363
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0367834{col 26}{space 2} .0228853{col 37}{space 1}    1.61{col 46}{space 3}0.108{col 54}{space 4}-.0080709{col 67}{space 3} .0816376
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0513005{col 26}{space 2} .0260993{col 37}{space 1}    1.97{col 46}{space 3}0.049{col 54}{space 4} .0001469{col 67}{space 3} .1024542
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta", replace)      idstr(5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0416518{col 26}{space 2} .0323176{col 37}{space 1}    1.29{col 46}{space 3}0.197{col 54}{space 4}-.0216896{col 67}{space 3} .1049932
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0098865{col 26}{space 2}  .033058{col 37}{space 1}    0.30{col 46}{space 3}0.765{col 54}{space 4}-.0549061{col 67}{space 3} .0746791
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta", replace)      idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta{rm}
saved
{p_end}

{com}.                 
. *lincom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])
. 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta"
{txt}
{com}.                 
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}.                 
. 
. preserve 
{txt}
{com}. 
. egen cmt=group(country month treata)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***AUSTRIA, 2010, WM PRICES, NON-SUBSIDIZED     
. quietly reghdfe dlogunits i.presub6a##ib1.treata i.presub5a##ib1.treata i.presub4a##ib1.treata i.presub3a##ib1.treata i.presub2a##ib1.treata i.presub1a##ib1.treata i.sub1a##ib1.treata i.sub2a##ib1.treata i.postsub1a##ib1.treata i.postsub2a##ib1.treata i.postsub3a##ib1.treata i.postsub4a##ib1.treata i.postsub5a##ib1.treata i.postsub6a##ib1.treata mage mage2 , absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples = e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6a##i.treata i.presub5a##i.treata i.presub4a##i.treata i.presub3a##i.treata i.presub2a##i.treata i.presub1a##i.treata i.sub1a##i.treata i.sub2a##i.treata i.postsub1a##i.treata i.postsub2a##i.treata i.postsub3a##i.treata  i.postsub4a##i.treata i.postsub5a##i.treata i.postsub6a##i.treata mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp
{txt}
{com}. 
.                 nlcom _b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}_b[1.presub6a]-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0078379{col 26}{space 2} .0094689{col 37}{space 1}   -0.83{col 46}{space 3}0.408{col 54}{space 4}-.0263966{col 67}{space 3} .0107209
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0090945{col 26}{space 2} .0069757{col 37}{space 1}    1.30{col 46}{space 3}0.192{col 54}{space 4}-.0045777{col 67}{space 3} .0227667
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0066167{col 26}{space 2} .0053388{col 37}{space 1}    1.24{col 46}{space 3}0.215{col 54}{space 4}-.0038472{col 67}{space 3} .0170807
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0048153{col 26}{space 2} .0054841{col 37}{space 1}    0.88{col 46}{space 3}0.380{col 54}{space 4}-.0059334{col 67}{space 3} .0155639
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)      idstr(-2)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0032914{col 26}{space 2} .0064951{col 37}{space 1}   -0.51{col 46}{space 3}0.612{col 54}{space 4}-.0160215{col 67}{space 3} .0094387
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)                               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0010812{col 26}{space 2} .0071803{col 37}{space 1}    0.15{col 46}{space 3}0.880{col 54}{space 4}-.0129919{col 67}{space 3} .0151543
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)      idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0002782{col 26}{space 2} .0076295{col 37}{space 1}    0.04{col 46}{space 3}0.971{col 54}{space 4}-.0146754{col 67}{space 3} .0152318
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)      idstr(1)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0047139{col 26}{space 2} .0080521{col 37}{space 1}   -0.59{col 46}{space 3}0.558{col 54}{space 4}-.0204957{col 67}{space 3} .0110679
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0066222{col 26}{space 2} .0092093{col 37}{space 1}    0.72{col 46}{space 3}0.472{col 54}{space 4}-.0114277{col 67}{space 3} .0246721
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0038006{col 26}{space 2} .0098012{col 37}{space 1}    0.39{col 46}{space 3}0.698{col 54}{space 4}-.0154095{col 67}{space 3} .0230106
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)     idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0007183{col 26}{space 2} .0104324{col 37}{space 1}   -0.07{col 46}{space 3}0.945{col 54}{space 4}-.0211653{col 67}{space 3} .0197288
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta", replace)     idstr(5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0009655{col 26}{space 2} .0113775{col 37}{space 1}    0.08{col 46}{space 3}0.932{col 54}{space 4} -.021334{col 67}{space 3}  .023265
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta", replace)     idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]), post

       {txt}_nl_1: {res}(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a]+_b[1.sub2a]+_b[1.postsub1a]+_b[1.postsub2a]+_b[1.postsub3a]+_b[1.postsub4a]+_b[1.postsub5a]+_b[1.postsub6a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0026857{col 26}{space 2} .0116269{col 37}{space 1}    0.23{col 46}{space 3}0.817{col 54}{space 4}-.0201026{col 67}{space 3} .0254741
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta", replace)     idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta{rm}
saved
{p_end}

{com}.                 
. *est restore nonsubp            
. 
. *lincom (_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a]+_b[1.sub1a])-(_b[1.presub6a]+_b[1.presub5a]+_b[1.presub4a]+_b[1.presub3a]+_b[1.presub2a]+_b[1.presub1a])
.                 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta"
{txt}
{com}.                 
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.                 gen program="at10wm"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_wm_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_wm_Coeff_6.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. 
. tab energy_label_eu

{txt}energy_label_eu {c |}      Freq.     Percent        Cum.
{hline 16}{c +}{hline 35}
              A {c |}{res}    785,862       31.27       31.27
{txt}             A+ {c |}{res}    880,923       35.05       66.32
{txt}            A++ {c |}{res}    461,938       18.38       84.70
{txt}           A+++ {c |}{res}    260,223       10.35       95.06
{txt}              B {c |}{res}     97,769        3.89       98.95
{txt}              C {c |}{res}     16,704        0.66       99.61
{txt}              D {c |}{res}      1,982        0.08       99.69
{txt} NOT APPLICABLE {c |}{res}      1,272        0.05       99.74
{txt}        UNKNOWN {c |}{res}      3,400        0.14       99.88
{txt}           n.a. {c |}{res}      3,108        0.12      100.00
{txt}{hline 16}{c +}{hline 35}
          Total {c |}{res}  2,513,181      100.00
{txt}
{com}. encode energy_label_eu, gen(label)
{txt}
{com}. 
. xtset id2

{txt}{col 1}Panel variable: {res}id2{txt} (unbalanced)

{com}. 
. 
. preserve
{txt}
{com}. 
. egen cmt=group(country month treath)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***HUNGARY, 2015, UNIT SALES, SUBSIDIZED
. quietly reghdfe dlogunits i.presub6h##ib1.treath i.presub5h##ib1.treath i.presub4h##ib1.treath i.presub3h##ib1.treath i.presub2h##ib1.treath i.presub1h##ib1.treath i.sub1h##ib1.treath i.sub2h##ib1.treath i.sub3h##ib1.treath i.sub4h##ib1.treath i.postsub1h##ib1.treath i.postsub2h##ib1.treath i.postsub3h##ib1.treath i.postsub4h##ib1.treath i.postsub5h##ib1.treath i.postsub6h##ib1.treath mage mage2  if country!="Croatia", absorb(id2 cmt) cluster(id) 
{txt}
{com}. est store subu
{txt}
{com}. 
.                 nlcom _b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}_b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.159389{col 26}{space 2} .1189826{col 37}{space 1}   -1.34{col 46}{space 3}0.180{col 54}{space 4}-.3925906{col 67}{space 3} .0738127
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1122916{col 26}{space 2} .1025092{col 37}{space 1}   -1.10{col 46}{space 3}0.273{col 54}{space 4} -.313206{col 67}{space 3} .0886227
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1189157{col 26}{space 2} .0946982{col 37}{space 1}   -1.26{col 46}{space 3}0.209{col 54}{space 4}-.3045207{col 67}{space 3} .0666893
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}   .03698{col 26}{space 2} .0805004{col 37}{space 1}    0.46{col 46}{space 3}0.646{col 54}{space 4}-.1207979{col 67}{space 3} .1947579
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0084444{col 26}{space 2}  .097807{col 37}{space 1}    0.09{col 46}{space 3}0.931{col 54}{space 4}-.1832538{col 67}{space 3} .2001426
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1479256{col 26}{space 2} .1027696{col 37}{space 1}    1.44{col 46}{space 3}0.150{col 54}{space 4}-.0534991{col 67}{space 3} .3493503
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .5301584{col 26}{space 2} .1162835{col 37}{space 1}    4.56{col 46}{space 3}0.000{col 54}{space 4}  .302247{col 67}{space 3} .7580698
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3074406{col 26}{space 2} .1185971{col 37}{space 1}    2.59{col 46}{space 3}0.010{col 54}{space 4} .0749945{col 67}{space 3} .5398867
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}. 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}   .16255{col 26}{space 2} .1221697{col 37}{space 1}    1.33{col 46}{space 3}0.183{col 54}{space 4}-.0768982{col 67}{space 3} .4019983
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}. 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0089586{col 26}{space 2} .1258916{col 37}{space 1}    0.07{col 46}{space 3}0.943{col 54}{space 4}-.2377844{col 67}{space 3} .2557015
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.         
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0989666{col 26}{space 2} .1331675{col 37}{space 1}   -0.74{col 46}{space 3}0.457{col 54}{space 4}-.3599701{col 67}{space 3} .1620369
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta", replace)       idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta{rm}
saved
{p_end}

{com}.         
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.054045{col 26}{space 2} .1490279{col 37}{space 1}   -0.36{col 46}{space 3}0.717{col 54}{space 4}-.3461344{col 67}{space 3} .2380443
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta", replace)       idstr(6)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1136548{col 26}{space 2} .1598348{col 37}{space 1}    0.71{col 46}{space 3}0.477{col 54}{space 4}-.1996156{col 67}{space 3} .4269253
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta", replace)       idstr(7)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta{rm}
saved
{p_end}

{com}.         
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1187835{col 26}{space 2} .1665358{col 37}{space 1}    0.71{col 46}{space 3}0.476{col 54}{space 4}-.2076207{col 67}{space 3} .4451876
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta", replace)       idstr(8)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta{rm}
saved
{p_end}

{com}.                         
. est restore subu
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1528233{col 26}{space 2} .1699024{col 37}{space 1}    0.90{col 46}{space 3}0.368{col 54}{space 4}-.1801793{col 67}{space 3} .4858258
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta", replace)       idstr(9)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta{rm}
saved
{p_end}

{com}.         
. *est restore subu       
. 
. *lincom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])
. 
. *lincom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])
. 
. *lincom                 (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])
. 
.         clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta"
{txt}
{com}.                 
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve        
{txt}
{com}.         
. egen cmt=group(country month treath)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***HUNGARY, 2015, UNIT SALES, NON-SUBSIDIZED            
. 
. quietly reghdfe dlogunits i.presub6h##i.treath i.presub5h##i.treath i.presub4h##i.treath i.presub3h##i.treath i.presub2h##i.treath i.presub1h##i.treath i.sub1h##i.treath i.sub2h##i.treath i.sub3h##i.treath i.sub4h##i.treath i.postsub1h##i.treath i.postsub2h##i.treath i.postsub3h##i.treath i.postsub4h##i.treath i.postsub5h##i.treath i.postsub6h##i.treath mage mage2  if country!="Croatia", absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
.                 nlcom _b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}_b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2656327{col 26}{space 2} .1819019{col 37}{space 1}    1.46{col 46}{space 3}0.144{col 54}{space 4}-.0908884{col 67}{space 3} .6221538
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .206428{col 26}{space 2} .1724082{col 37}{space 1}    1.20{col 46}{space 3}0.231{col 54}{space 4}-.1314859{col 67}{space 3} .5443419
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0867929{col 26}{space 2} .1245719{col 37}{space 1}   -0.70{col 46}{space 3}0.486{col 54}{space 4}-.3309493{col 67}{space 3} .1573636
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0519548{col 26}{space 2} .1120594{col 37}{space 1}    0.46{col 46}{space 3}0.643{col 54}{space 4}-.1676776{col 67}{space 3} .2715872
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0322949{col 26}{space 2} .1223294{col 37}{space 1}    0.26{col 46}{space 3}0.792{col 54}{space 4}-.2074663{col 67}{space 3} .2720561
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0518348{col 26}{space 2} .1537438{col 37}{space 1}    0.34{col 46}{space 3}0.736{col 54}{space 4}-.2494976{col 67}{space 3} .3531671
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2840622{col 26}{space 2} .1875673{col 37}{space 1}    1.51{col 46}{space 3}0.130{col 54}{space 4}-.0835629{col 67}{space 3} .6516874
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 *nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post
.                 *est store ns9
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)      idstr(2)                
. 
. *est restore nonsubu
.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1079271{col 26}{space 2}  .203101{col 37}{space 1}    0.53{col 46}{space 3}0.595{col 54}{space 4}-.2901435{col 67}{space 3} .5059977
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 *nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post
.                 *est store ns11
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)     idstr(4)                
.         
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0914712{col 26}{space 2} .2306855{col 37}{space 1}   -0.40{col 46}{space 3}0.692{col 54}{space 4}-.5436064{col 67}{space 3} .3606641
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta", replace)      idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0801446{col 26}{space 2} .2537852{col 37}{space 1}    0.32{col 46}{space 3}0.752{col 54}{space 4}-.4172652{col 67}{space 3} .5775544
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta", replace)      idstr(6)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 *nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post
.                 *est store ns14
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta", replace)     idstr(7)                        
.         
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .122997{col 26}{space 2} .2534883{col 37}{space 1}    0.49{col 46}{space 3}0.628{col 54}{space 4}-.3738308{col 67}{space 3} .6198249
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta", replace)      idstr(8)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta{rm}
saved
{p_end}

{com}.                         
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .099615{col 26}{space 2} .2747088{col 37}{space 1}    0.36{col 46}{space 3}0.717{col 54}{space 4}-.4388045{col 67}{space 3} .6380344
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta", replace)      idstr(9)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.  lincom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2h + 1.presub1h + 1.sub1h + 1.sub2h + 1.sub3h = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .1294252{col 26}{space 2} .1846339{col 37}{space 1}    0.70{col 46}{space 3}0.483{col 54}{space 4}-.2325231{col 67}{space 3} .4913734
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  lincom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2h + 1.presub1h + 1.sub1h + 1.sub2h + 1.sub3h + 1.sub4h + 1.postsub1h = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .1820983{col 26}{space 2} .2141245{col 37}{space 1}    0.85{col 46}{space 3}0.395{col 54}{space 4}-.2376619{col 67}{space 3} .6018585
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.  lincom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2h + 1.presub1h + 1.sub1h + 1.sub2h + 1.sub3h + 1.sub4h + 1.postsub1h + 1.postsub2h + 1.postsub3h + 1.postsub4h = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .1020058{col 26}{space 2}  .256938{col 37}{space 1}    0.40{col 46}{space 3}0.691{col 54}{space 4}-.4016842{col 67}{space 3} .6056958
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
.         clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.             *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta"
{txt}
{com}.                 *append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta"
.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta"
{txt}
{com}.                 
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve        
{txt}
{com}.         
. egen cmt=group(country month treath)
{txt}(1,740,985 missing values generated)

{com}. 
. 
. ***HUNGARY, 2015, PRICES, SUBSIDIZED            
. quietly reghdfe dlogunits i.presub6h##ib1.treath i.presub5h##ib1.treath i.presub4h##ib1.treath i.presub3h##ib1.treath i.presub2h##ib1.treath i.presub1h##ib1.treath i.sub1h##ib1.treath i.sub2h##ib1.treath i.sub3h##ib1.treath i.sub4h##ib1.treath i.postsub1h##ib1.treath i.postsub2h##ib1.treath i.postsub3h##ib1.treath i.postsub4h##ib1.treath i.postsub5h##ib1.treath i.postsub6h##ib1.treath mage mage2  if country!="Croatia", absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples=e(sample)
{txt}
{com}.                 
. quietly reghdfe dlogprice i.presub6h##ib1.treath i.presub5h##ib1.treath i.presub4h##ib1.treath i.presub3h##ib1.treath i.presub2h##ib1.treath i.presub1h##ib1.treath i.sub1h##ib1.treath i.sub2h##ib1.treath i.sub3h##ib1.treath i.sub4h##ib1.treath i.postsub1h##ib1.treath i.postsub2h##ib1.treath i.postsub3h##ib1.treath i.postsub4h##ib1.treath  i.postsub5h##ib1.treath i.postsub6h##ib1.treath mage mage2  if country!="Croatia" & samples, absorb(id2 cmt) cluster(id)           
{txt}
{com}. est store subp
{txt}
{com}.         
.                 nlcom _b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}_b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  -.02154{col 26}{space 2} .0086931{col 37}{space 1}   -2.48{col 46}{space 3}0.013{col 54}{space 4}-.0385782{col 67}{space 3}-.0045018
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0196559{col 26}{space 2} .0077159{col 37}{space 1}   -2.55{col 46}{space 3}0.011{col 54}{space 4}-.0347788{col 67}{space 3}-.0045331
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0183354{col 26}{space 2} .0061199{col 37}{space 1}   -3.00{col 46}{space 3}0.003{col 54}{space 4}-.0303302{col 67}{space 3}-.0063406
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0162011{col 26}{space 2} .0049633{col 37}{space 1}   -3.26{col 46}{space 3}0.001{col 54}{space 4} -.025929{col 67}{space 3}-.0064732
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0063306{col 26}{space 2} .0068188{col 37}{space 1}   -0.93{col 46}{space 3}0.353{col 54}{space 4}-.0196952{col 67}{space 3} .0070341
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)       idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0045773{col 26}{space 2}  .007816{col 37}{space 1}   -0.59{col 46}{space 3}0.558{col 54}{space 4}-.0198964{col 67}{space 3} .0107417
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0142786{col 26}{space 2} .0086505{col 37}{space 1}    1.65{col 46}{space 3}0.099{col 54}{space 4}-.0026761{col 67}{space 3} .0312333
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .015277{col 26}{space 2} .0088612{col 37}{space 1}    1.72{col 46}{space 3}0.085{col 54}{space 4}-.0020907{col 67}{space 3} .0326447
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}. 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0120028{col 26}{space 2} .0096912{col 37}{space 1}    1.24{col 46}{space 3}0.216{col 54}{space 4}-.0069917{col 67}{space 3} .0309973
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}. 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0157938{col 26}{space 2} .0100102{col 37}{space 1}   -1.58{col 46}{space 3}0.115{col 54}{space 4}-.0354134{col 67}{space 3} .0038258
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.         
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0135566{col 26}{space 2} .0102506{col 37}{space 1}   -1.32{col 46}{space 3}0.186{col 54}{space 4}-.0336473{col 67}{space 3} .0065341
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta", replace)      idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta{rm}
saved
{p_end}

{com}.         
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.021931{col 26}{space 2} .0110672{col 37}{space 1}   -1.98{col 46}{space 3}0.048{col 54}{space 4}-.0436223{col 67}{space 3}-.0002397
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta", replace)      idstr(6)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0249785{col 26}{space 2} .0119627{col 37}{space 1}   -2.09{col 46}{space 3}0.037{col 54}{space 4}-.0484249{col 67}{space 3}-.0015321
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta", replace)      idstr(7)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta{rm}
saved
{p_end}

{com}.         
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0209353{col 26}{space 2} .0131081{col 37}{space 1}   -1.60{col 46}{space 3}0.110{col 54}{space 4}-.0466267{col 67}{space 3} .0047561
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta", replace)      idstr(8)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta{rm}
saved
{p_end}

{com}.                         
. est restore subp
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0244009{col 26}{space 2} .0135237{col 37}{space 1}   -1.80{col 46}{space 3}0.071{col 54}{space 4}-.0509069{col 67}{space 3} .0021052
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta", replace)      idstr(9)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta{rm}
saved
{p_end}

{com}.         
.         
. 
.         clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta"
{txt}
{com}.                 
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve        
{txt}
{com}.         
. egen cmt=group(country month treath)
{txt}(1,740,985 missing values generated)

{com}.         
. ***HUNGARY, 2015, PRICES, NON-SUBSIDIZED                   
. quietly reghdfe dlogunits i.presub6h##ib1.treath i.presub5h##ib1.treath i.presub4h##ib1.treath i.presub3h##ib1.treath i.presub2h##ib1.treath i.presub1h##ib1.treath i.sub1h##ib1.treath i.sub2h##ib1.treath i.sub3h##ib1.treath i.sub4h##ib1.treath i.postsub1h##ib1.treath i.postsub2h##ib1.treath i.postsub3h##ib1.treath i.postsub4h##ib1.treath i.postsub5h##ib1.treath i.postsub6h##ib1.treath mage mage2  if country!="Croatia", absorb(id2 cmt) cluster(id) 
{txt}
{com}. generate samples=e(sample)      
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6h##i.treath i.presub5h##i.treath i.presub4h##i.treath i.presub3h##i.treath i.presub2h##i.treath i.presub1h##i.treath i.sub1h##i.treath i.sub2h##i.treath i.sub3h##i.treath i.sub4h##i.treath i.postsub1h##i.treath i.postsub2h##i.treath i.postsub3h##i.treath  i.postsub4h##i.treath i.postsub5h##i.treath  i.postsub6h##i.treath mage mage2  if country!="Croatia" & samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp
{txt}
{com}. 
.         nlcom _b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}_b[1.presub6h]-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0087451{col 26}{space 2} .0149989{col 37}{space 1}   -0.58{col 46}{space 3}0.560{col 54}{space 4}-.0381425{col 67}{space 3} .0206522
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0131288{col 26}{space 2}  .011636{col 37}{space 1}   -1.13{col 46}{space 3}0.259{col 54}{space 4}-.0359349{col 67}{space 3} .0096772
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0164056{col 26}{space 2} .0103484{col 37}{space 1}   -1.59{col 46}{space 3}0.113{col 54}{space 4} -.036688{col 67}{space 3} .0038768
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0094468{col 26}{space 2} .0093501{col 37}{space 1}   -1.01{col 46}{space 3}0.312{col 54}{space 4}-.0277727{col 67}{space 3} .0088792
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)      idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0049792{col 26}{space 2} .0120176{col 37}{space 1}   -0.41{col 46}{space 3}0.679{col 54}{space 4}-.0285333{col 67}{space 3} .0185749
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0003622{col 26}{space 2} .0118472{col 37}{space 1}    0.03{col 46}{space 3}0.976{col 54}{space 4}-.0228579{col 67}{space 3} .0235824
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)      idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0132518{col 26}{space 2}  .015021{col 37}{space 1}   -0.88{col 46}{space 3}0.378{col 54}{space 4}-.0426925{col 67}{space 3} .0161888
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)      idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom   (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0105935{col 26}{space 2} .0154215{col 37}{space 1}   -0.69{col 46}{space 3}0.492{col 54}{space 4} -.040819{col 67}{space 3}  .019632
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0032163{col 26}{space 2} .0160083{col 37}{space 1}    0.20{col 46}{space 3}0.841{col 54}{space 4}-.0281594{col 67}{space 3}  .034592
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0133066{col 26}{space 2} .0167739{col 37}{space 1}   -0.79{col 46}{space 3}0.428{col 54}{space 4}-.0461828{col 67}{space 3} .0195697
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)     idstr(4)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0206677{col 26}{space 2} .0167651{col 37}{space 1}   -1.23{col 46}{space 3}0.218{col 54}{space 4}-.0535268{col 67}{space 3} .0121913
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta", replace)     idstr(5)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0401265{col 26}{space 2} .0177939{col 37}{space 1}   -2.26{col 46}{space 3}0.024{col 54}{space 4}-.0750018{col 67}{space 3}-.0052512
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta", replace)     idstr(6)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0472093{col 26}{space 2} .0179661{col 37}{space 1}   -2.63{col 46}{space 3}0.009{col 54}{space 4}-.0824222{col 67}{space 3}-.0119964
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta", replace)     idstr(7)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0317752{col 26}{space 2}  .017935{col 37}{space 1}   -1.77{col 46}{space 3}0.076{col 54}{space 4}-.0669272{col 67}{space 3} .0033768
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta", replace)     idstr(8)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta{rm}
saved
{p_end}

{com}.                         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]), post

       {txt}_nl_1: {res}(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h]+_b[1.postsub4h]+_b[1.postsub5h]+_b[1.postsub6h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0203115{col 26}{space 2} .0176297{col 37}{space 1}   -1.15{col 46}{space 3}0.249{col 54}{space 4}-.0548651{col 67}{space 3} .0142421
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta", replace)     idstr(9)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta{rm}
saved
{p_end}

{com}.         
. *est restore nonsubp    
. 
. *lincom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])
. 
. *lincom  (_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h])-(_b[1.presub6h]+_b[1.presub5h]+_b[1.presub4h]+_b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h])
.         clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta"
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta"
{txt}
{com}.                 
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.         
.                 gen program="hu15"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2015_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2015_Coeff_6.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
.         
.         
. 
. 
. /***HUNGARY, 2015, UNIT SALES, SUBSIDIZED, LABEL A+++
> quietly reghdfe dlogunits  i.presub3h##ib1.treath##ib4.label i.presub2h##ib1.treath##ib4.label i.presub1h##ib1.treath##ib4.label i.sub1h##ib1.treath##ib4.label i.sub2h##ib1.treath##ib4.label i.sub3h##ib1.treath##ib4.label i.sub4h##ib1.treath##ib4.label i.postsub1h##ib1.treath##ib4.label i.postsub2h##ib1.treath##ib4.label i.postsub3h##ib1.treath##ib4.label mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> est store subu3
> 
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu3
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu3
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="s"
>                 gen label="a3"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treath)
> egen cmlt=group(country month energy_label_eu treath)
> label list label
> 
> 
> ***HUNGARY, 2015, UNIT SALES, SUBSIDIZED, LABEL A++
> 
> 
> quietly reghdfe dlogunits i.presub3h##ib1.treath##ib3.label i.presub2h##ib1.treath##ib3.label i.presub1h##ib1.treath##ib3.label i.sub1h##ib1.treath##ib3.label i.sub2h##ib1.treath##ib3.label i.sub3h##ib1.treath##ib3.label i.sub4h##ib1.treath##ib3.label i.postsub1h##ib1.treath##ib3.label i.postsub2h##ib1.treath##ib3.label i.postsub3h##ib1.treath##ib3.label mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> est store subu2
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu2
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu2
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="s"
>                 gen label="a2"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2.dta", replace
>         
> restore 
> 
> preserve        
>         
> egen cmt=group(country month treath)
> egen cmlt=group(country month energy_label_eu treath)
> label list label
> 
> 
> ***HUNGARY, 2015, UNIT SALES, SUBSIDIZED, LABEL A+
> 
> quietly reghdfe dlogunits i.presub3h##ib1.treath##ib2.label i.presub2h##ib1.treath##ib2.label i.presub1h##ib1.treath##ib2.label i.sub1h##ib1.treath##ib2.label i.sub2h##ib1.treath##ib2.label i.sub3h##ib1.treath##ib2.label i.sub4h##ib1.treath##ib2.label i.postsub1h##ib1.treath##ib2.label i.postsub2h##ib1.treath##ib2.label i.postsub3h##ib1.treath##ib2.label mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> est store subu1
> 
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu1
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu1
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="s"
>                 gen label="a1"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1.dta", replace
>         
> restore 
> 
> 
> preserve        
>         
> egen cmt=group(country month treath)
> egen cmlt=group(country month energy_label_eu treath)
> label list label
> 
> 
> ***HUNGARY, 2015, PRICES, SUBSIDIZED, LABEL A+++
> 
> quietly reghdfe dlogunits  i.presub2h##ib1.treath##ib4.label i.presub1h##ib1.treath##ib4.label i.sub1h##ib1.treath##ib4.label i.sub2h##ib1.treath##ib4.label i.sub3h##ib1.treath##ib4.label i.sub4h##ib1.treath##ib4.label i.postsub1h##ib1.treath##ib4.label i.postsub2h##ib1.treath##ib4.label  mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
>                 
> quietly reghdfe dlogprice i.presub3h##ib1.treath##ib4.label i.presub2h##ib1.treath##ib4.label i.presub1h##ib1.treath##ib4.label i.sub1h##ib1.treath##ib4.label i.sub2h##ib1.treath##ib4.label i.sub3h##ib1.treath##ib4.label i.sub4h##ib1.treath##ib4.label i.postsub1h##ib1.treath##ib4.label i.postsub2h##ib1.treath##ib4.label i.postsub3h##ib1.treath##ib4.label mage mage2  if country!="Croatia" & samplel, absorb(id2 cmlt) cluster(id)
> est store subu3
> 
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu3
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu3
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu3
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="sp"
>                 gen label="a3"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3_p.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treath)
> egen cmlt=group(country month energy_label_eu treath)
> label list label
> 
> 
> ***HUNGARY, 2015, PRICES, SUBSIDIZED, LABEL A++
> 
> quietly reghdfe dlogunits  i.presub2h##ib1.treath##ib4.label i.presub1h##ib1.treath##ib4.label i.sub1h##ib1.treath##ib4.label i.sub2h##ib1.treath##ib4.label i.sub3h##ib1.treath##ib4.label i.sub4h##ib1.treath##ib4.label i.postsub1h##ib1.treath##ib4.label i.postsub2h##ib1.treath##ib4.label  mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
> 
> 
> quietly reghdfe dlogprice i.presub3h##ib1.treath##ib3.label i.presub2h##ib1.treath##ib3.label i.presub1h##ib1.treath##ib3.label i.sub1h##ib1.treath##ib3.label i.sub2h##ib1.treath##ib3.label i.sub3h##ib1.treath##ib3.label i.sub4h##ib1.treath##ib3.label i.postsub1h##ib1.treath##ib3.label i.postsub2h##ib1.treath##ib3.label i.postsub3h##ib1.treath##ib3.label mage mage2  if country!="Croatia" & samplel, absorb(id2 cmlt) cluster(id)
> est store subu2
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu2
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu2
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu2
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="sp"
>                 gen label="a2"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2_p.dta", replace
>         
> restore 
> 
> preserve        
>         
> egen cmt=group(country month treath)
> egen cmlt=group(country month energy_label_eu treath)
> label list label
> 
> 
> ***HUNGARY, 2015, PRICES, SUBSIDIZED, LABEL A+
> 
> quietly reghdfe dlogunits  i.presub2h##ib1.treath##ib4.label i.presub1h##ib1.treath##ib4.label i.sub1h##ib1.treath##ib4.label i.sub2h##ib1.treath##ib4.label i.sub3h##ib1.treath##ib4.label i.sub4h##ib1.treath##ib4.label i.postsub1h##ib1.treath##ib4.label i.postsub2h##ib1.treath##ib4.label  mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
> 
> quietly reghdfe dlogprice i.presub3h##ib1.treath##ib2.label i.presub2h##ib1.treath##ib2.label i.presub1h##ib1.treath##ib2.label i.sub1h##ib1.treath##ib2.label i.sub2h##ib1.treath##ib2.label i.sub3h##ib1.treath##ib2.label i.sub4h##ib1.treath##ib2.label i.postsub1h##ib1.treath##ib2.label i.postsub2h##ib1.treath##ib2.label i.postsub3h##ib1.treath##ib2.label mage mage2  if country!="Croatia" & samplel , absorb(id2 cmlt) cluster(id)
> est store subu1
> 
> 
>                 nlcom _b[1.presub3h], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
>                 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu1
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                
>                 
> est restore subu1
>                 nlcom  _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                
> 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)
> 
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)                
>         
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h], post
>                 est store s9
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(5)                
>         
> est restore subu1
>                 nlcom _b[1.presub3h]+_b[1.presub2h]+_b[1.presub1h]+_b[1.sub1h]+_b[1.sub2h]+_b[1.sub3h]+_b[1.sub4h]+_b[1.postsub1h]+_b[1.postsub2h]+_b[1.postsub3h], post
>                 est store s10
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(6)                        
>         
> 
>         clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
>         
>                 gen type="sp"
>                 gen label="a1"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1_p.dta", replace
>         
> restore 
> 
> preserve
> 
> clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3_p.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2_p.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1_p.dta"
> 
>                 gen program="hu15"
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2015_Coeff.dta", replace
> restore
> 
> 
>                 
> ***A+++, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3h##i.treath##ib4.label i.presub2h##i.treath##ib4.label i.presub1h##i.treath##ib4.label i.sub1h##i.treath##ib4.label i.sub2h##i.treath##ib4.label i.sub3h##i.treath##ib4.label i.sub4h##i.treath##ib4.label i.postsub1h##i.treath##ib4.label i.postsub2h##i.treath##ib4.label i.postsub3h##i.treath##ib4.label  mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
>         
> ***A++, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3h##i.treath##ib3.label i.presub2h##i.treath##ib3.label i.presub1h##i.treath##ib3.label i.sub1h##i.treath##ib3.label i.sub2h##i.treath##ib3.label i.sub3h##i.treath##ib3.label i.sub4h##i.treath##ib3.label i.postsub1h##i.treath##ib3.label i.postsub2h##i.treath##ib3.label i.postsub3h##i.treath##ib3.label mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
>                         
> **A+, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3h##i.treath##ib2.label i.presub2h##i.treath##ib2.label i.presub1h##i.treath##ib2.label i.sub1h##i.treath##ib2.label i.sub2h##i.treath##ib2.label i.sub3h##i.treath##ib2.label i.sub4h##i.treath##ib2.label i.postsub1h##i.treath##ib2.label i.postsub2h##i.treath##ib2.label i.postsub3h##i.treath##ib2.label mage mage2  if country!="Croatia", absorb(id2 cmlt) cluster(id)
>                                 
> *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++          
> ***PRICES BY LABEL
> 
> ***A+++, NON-SUBSIDIZED
> *reghdfe dlogprice i.presub3h##i.treath##ib4.label i.presub2h##i.treath##ib4.label i.presub1h##i.treath##ib4.label i.sub1h##i.treath##ib4.label i.sub2h##i.treath##ib4.label i.sub3h##i.treath##ib4.label i.sub4h##i.treath##ib4.label i.postsub1h##i.treath##ib4.label i.postsub2h##i.treath##ib4.label i.postsub3h##i.treath##ib4.label  mage mage2  if country!="Croatia"& samplel, absorb(id2 cmlt) cluster(id)
>                 
> ***A++, NON-SUBSIDIZED
> *reghdfe dlogprice i.presub3h##i.treath##ib3.label i.presub2h##i.treath##ib3.label i.presub1h##i.treath##ib3.label i.sub1h##i.treath##ib3.label i.sub2h##i.treath##ib3.label i.sub3h##i.treath##ib3.label i.sub4h##i.treath##ib3.label i.postsub1h##i.treath##ib3.label i.postsub2h##i.treath##ib3.label i.postsub3h##i.treath##ib3.label mage mage2  if country!="Croatia" & samplel & firstyear!=2015, absorb(id2 cmlt) cluster(id)
>                 
>                 
> **A+, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3h##i.treath##ib2.label i.presub2h##i.treath##ib2.label i.presub1h##i.treath##ib2.label i.sub1h##i.treath##ib2.label i.sub2h##i.treath##ib2.label i.sub3h##i.treath##ib2.label i.sub4h##i.treath##ib2.label i.postsub1h##i.treath##ib2.label i.postsub2h##i.treath##ib2.label i.postsub3h##i.treath##ib2.label mage mage2  if country!="Croatia" & samplel, absorb(id2 cmlt) cluster(id)
> 
> */
. preserve
{txt}
{com}. 
. egen cmt=group(country month treathf)
{txt}(772,376 missing values generated)

{com}. egen cmlt=group(country month energy_label_eu treathf)
{txt}(772,508 missing values generated)

{com}. 
. 
. ***HUNGARY, 2016, UNIT SALES, SUBSIDIZED
. quietly reghdfe dlogunits i.presub6hf##ib1.treathf i.presub5hf##ib1.treathf i.presub4hf##ib1.treathf i.presub3hf##ib1.treathf i.presub2hf##ib1.treathf i.presub1hf##ib1.treathf i.sub1hf##ib1.treathf i.sub2hf##ib1.treathf i.sub3hf##ib1.treathf i.sub4hf##ib1.treathf i.postsub1hf##ib1.treathf  mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store subu
{txt}
{com}. 
.         nlcom _b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}_b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0900373{col 26}{space 2} .0721028{col 37}{space 1}   -1.25{col 46}{space 3}0.212{col 54}{space 4}-.2313561{col 67}{space 3} .0512815
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0157725{col 26}{space 2} .0586764{col 37}{space 1}    0.27{col 46}{space 3}0.788{col 54}{space 4}-.0992311{col 67}{space 3} .1307761
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.     
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0884047{col 26}{space 2} .0481901{col 37}{space 1}    1.83{col 46}{space 3}0.067{col 54}{space 4}-.0060461{col 67}{space 3} .1828556
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0510671{col 26}{space 2}  .047056{col 37}{space 1}    1.09{col 46}{space 3}0.278{col 54}{space 4} -.041161{col 67}{space 3} .1432951
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0679885{col 26}{space 2} .0531252{col 37}{space 1}    1.28{col 46}{space 3}0.201{col 54}{space 4} -.036135{col 67}{space 3}  .172112
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}. 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3353643{col 26}{space 2} .0644379{col 37}{space 1}    5.20{col 46}{space 3}0.000{col 54}{space 4} .2090683{col 67}{space 3} .4616602
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .6007802{col 26}{space 2} .0743782{col 37}{space 1}    8.08{col 46}{space 3}0.000{col 54}{space 4} .4550016{col 67}{space 3} .7465588
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .5836166{col 26}{space 2} .0804194{col 37}{space 1}    7.26{col 46}{space 3}0.000{col 54}{space 4} .4259974{col 67}{space 3} .7412357
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}.         
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3281043{col 26}{space 2}  .075856{col 37}{space 1}    4.33{col 46}{space 3}0.000{col 54}{space 4} .1794294{col 67}{space 3} .4767793
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}.         
. est restore subu                
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3116168{col 26}{space 2} .0767056{col 37}{space 1}    4.06{col 46}{space 3}0.000{col 54}{space 4} .1612766{col 67}{space 3} .4619571
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.                 
. *est restore subu
. 
. *lincom         (_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])
. 
. *lincom  (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])
. 
. *lincom  (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])
. 
. *lincom  (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])
.         
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.                 
.         
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. egen cmt=group(country month treathf)
{txt}(772,376 missing values generated)

{com}. egen cmlt=group(country month energy_label_eu treathf)
{txt}(772,508 missing values generated)

{com}. 
.                 
. **HUNGARY, 2016, UNIT SALES, N0N-SUBSIDIZED
. quietly reghdfe dlogunits i.presub6hf##i.treathf i.presub5hf##i.treathf i.presub4hf##i.treathf i.presub3hf##i.treathf i.presub2hf##i.treathf i.presub1hf##i.treathf i.sub1hf##i.treathf i.sub2hf##i.treathf i.sub3hf##i.treathf i.sub4hf##i.treathf i.postsub1hf##i.treathf  mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
.         nlcom _b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}_b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0736336{col 26}{space 2} .1173054{col 37}{space 1}    0.63{col 46}{space 3}0.530{col 54}{space 4}-.1562807{col 67}{space 3} .3035479
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .217941{col 26}{space 2} .0991267{col 37}{space 1}    2.20{col 46}{space 3}0.028{col 54}{space 4} .0236564{col 67}{space 3} .4122257
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.     
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2025996{col 26}{space 2} .1102266{col 37}{space 1}    1.84{col 46}{space 3}0.066{col 54}{space 4}-.0134406{col 67}{space 3} .4186397
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0698643{col 26}{space 2} .0947844{col 37}{space 1}   -0.74{col 46}{space 3}0.461{col 54}{space 4}-.2556382{col 67}{space 3} .1159097
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1689358{col 26}{space 2} .1246564{col 37}{space 1}   -1.36{col 46}{space 3}0.175{col 54}{space 4}-.4132578{col 67}{space 3} .0753862
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1025121{col 26}{space 2} .1375485{col 37}{space 1}    0.75{col 46}{space 3}0.456{col 54}{space 4} -.167078{col 67}{space 3} .3721023
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0251505{col 26}{space 2} .1525522{col 37}{space 1}    0.16{col 46}{space 3}0.869{col 54}{space 4}-.2738463{col 67}{space 3} .3241474
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1891538{col 26}{space 2} .1623917{col 37}{space 1}    1.16{col 46}{space 3}0.244{col 54}{space 4}-.1291281{col 67}{space 3} .5074357
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)       idstr(2)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1762756{col 26}{space 2}  .165045{col 37}{space 1}    1.07{col 46}{space 3}0.286{col 54}{space 4}-.1472068{col 67}{space 3} .4997579
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu             
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3199588{col 26}{space 2} .1847707{col 37}{space 1}    1.73{col 46}{space 3}0.083{col 54}{space 4}-.0421851{col 67}{space 3} .6821027
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)      idstr(4)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta{rm}
saved
{p_end}

{com}.                 
. *est restore nonsubu
. 
. *lincom         (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])     
.         
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
{txt}
{com}.                 
.         
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. egen cmt=group(country month treathf)
{txt}(772,376 missing values generated)

{com}. egen cmlt=group(country month energy_label_eu treathf)
{txt}(772,508 missing values generated)

{com}. 
. ***HUNGARY, 2016, PRICES, SUBSIDIZED            
.                         
. 
. quietly reghdfe dlogunits i.presub6hf##ib1.treathf i.presub5hf##ib1.treathf i.presub4hf##ib1.treathf i.presub3hf##ib1.treathf i.presub2hf##ib1.treathf i.presub1hf##ib1.treathf i.sub1hf##ib1.treathf i.sub2hf##ib1.treathf i.sub3hf##ib1.treathf i.sub4hf##ib1.treathf i.postsub1hf##ib1.treathf  mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. generate samples=e(sample)      
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6hf##ib1.treathf i.presub5hf##ib1.treathf i.presub4hf##ib1.treathf i.presub3hf##ib1.treathf i.presub2hf##ib1.treathf i.presub1hf##ib1.treathf i.sub1hf##ib1.treathf i.sub2hf##ib1.treathf i.sub3hf##ib1.treathf i.sub4hf##ib1.treathf i.postsub1hf##ib1.treathf  mage mage2  if  samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store subp
{txt}
{com}. 
.         nlcom _b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}_b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0201459{col 26}{space 2} .0066172{col 37}{space 1}   -3.04{col 46}{space 3}0.002{col 54}{space 4}-.0331154{col 67}{space 3}-.0071763
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0265851{col 26}{space 2} .0058735{col 37}{space 1}   -4.53{col 46}{space 3}0.000{col 54}{space 4}-.0380969{col 67}{space 3}-.0150733
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.     
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 *nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post
.                 *est store sp3
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)      idstr(-4)
.                 
. *est restore subp               
.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0028112{col 26}{space 2} .0041034{col 37}{space 1}   -0.69{col 46}{space 3}0.493{col 54}{space 4}-.0108538{col 67}{space 3} .0052314
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0079151{col 26}{space 2} .0049028{col 37}{space 1}   -1.61{col 46}{space 3}0.106{col 54}{space 4}-.0175244{col 67}{space 3} .0016942
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)       idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta{rm}
saved
{p_end}

{com}. 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0034433{col 26}{space 2} .0057815{col 37}{space 1}    0.60{col 46}{space 3}0.551{col 54}{space 4}-.0078884{col 67}{space 3} .0147749
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)       idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0067591{col 26}{space 2} .0058355{col 37}{space 1}   -1.16{col 46}{space 3}0.247{col 54}{space 4}-.0181964{col 67}{space 3} .0046782
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0122254{col 26}{space 2} .0063091{col 37}{space 1}   -1.94{col 46}{space 3}0.053{col 54}{space 4}-.0245909{col 67}{space 3} .0001402
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}.         
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0002412{col 26}{space 2} .0064162{col 37}{space 1}    0.04{col 46}{space 3}0.970{col 54}{space 4}-.0123343{col 67}{space 3} .0128167
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}.         
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0110632{col 26}{space 2} .0070572{col 37}{space 1}    1.57{col 46}{space 3}0.117{col 54}{space 4}-.0027687{col 67}{space 3}  .024895
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}. lincom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{p 0 7}{space 1}{text:( 1)}{space 1}{space 1}{res}- 1.presub3hf = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} -.012208{col 26}{space 2} .0044238{col 37}{space 1}   -2.76{col 46}{space 3}0.006{col 54}{space 4}-.0208794{col 67}{space 3}-.0035365
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         
.                 clear all
{res}{txt}
{com}.                 
.                 
.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.                 
.         
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. egen cmt=group(country month treathf)
{txt}(772,376 missing values generated)

{com}. egen cmlt=group(country month energy_label_eu treathf)
{txt}(772,508 missing values generated)

{com}. 
. ***HUNGARY, 2016, PRICES, NON-SUBSIDIZED        
.         
. quietly reghdfe dlogunits i.presub6hf##ib1.treathf i.presub5hf##ib1.treathf i.presub4hf##ib1.treathf i.presub3hf##ib1.treathf i.presub2hf##ib1.treathf i.presub1hf##ib1.treathf i.sub1hf##ib1.treathf i.sub2hf##ib1.treathf i.sub3hf##ib1.treathf i.sub4hf##ib1.treathf i.postsub1hf##ib1.treathf  mage mage2 , absorb(id2 cmt) cluster(id)
{txt}
{com}. generate samples=e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6hf##i.treathf i.presub5hf##i.treathf i.presub4hf##i.treathf i.presub3hf##i.treathf i.presub2hf##i.treathf i.presub1hf##i.treathf i.sub1hf##i.treathf i.sub2hf##i.treathf i.sub3hf##i.treathf i.sub4hf##i.treathf i.postsub1hf##i.treathf  mage mage2  if  samples, absorb(id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp                       
{txt}
{com}.         
.         nlcom _b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}_b[1.presub6hf]-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0108871{col 26}{space 2} .0128243{col 37}{space 1}    0.85{col 46}{space 3}0.396{col 54}{space 4}-.0142481{col 67}{space 3} .0360223
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0162213{col 26}{space 2} .0116642{col 37}{space 1}    1.39{col 46}{space 3}0.164{col 54}{space 4}  -.00664{col 67}{space 3} .0390827
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.     
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0065811{col 26}{space 2}  .009288{col 37}{space 1}    0.71{col 46}{space 3}0.479{col 54}{space 4}-.0116231{col 67}{space 3} .0247853
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0036809{col 26}{space 2} .0084487{col 37}{space 1}    0.44{col 46}{space 3}0.663{col 54}{space 4}-.0128783{col 67}{space 3} .0202401
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)      idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0044052{col 26}{space 2} .0102135{col 37}{space 1}    0.43{col 46}{space 3}0.666{col 54}{space 4}-.0156128{col 67}{space 3} .0244232
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}. 
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0000972{col 26}{space 2} .0109781{col 37}{space 1}    0.01{col 46}{space 3}0.993{col 54}{space 4}-.0214194{col 67}{space 3} .0216139
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)      idstr(0)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0158109{col 26}{space 2} .0133165{col 37}{space 1}    1.19{col 46}{space 3}0.235{col 54}{space 4} -.010289{col 67}{space 3} .0419108
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)      idstr(1)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0050871{col 26}{space 2} .0164233{col 37}{space 1}   -0.31{col 46}{space 3}0.757{col 54}{space 4}-.0372762{col 67}{space 3}  .027102
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)                        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp             
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0066273{col 26}{space 2} .0146131{col 37}{space 1}    0.45{col 46}{space 3}0.650{col 54}{space 4}-.0220138{col 67}{space 3} .0352684
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]), post

       {txt}_nl_1: {res}(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf])-(_b[1.presub6hf]+_b[1.presub5hf]+_b[1.presub4hf]+_b[1.presub3hf])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0175116{col 26}{space 2} .0160103{col 37}{space 1}   -1.09{col 46}{space 3}0.274{col 54}{space 4}-.0488912{col 67}{space 3}  .013868
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)     idstr(4)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta{rm}
saved
{p_end}

{com}.         
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
{txt}
{com}.                 
.         
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.         
. 
.                 gen program="hu16"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2016_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2016_Coeff_6.dta{rm}
saved
{p_end}

{com}. restore         
{txt}
{com}.                 
. /*
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, UNIT SALES, SUBSIDIZED, A+++
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib4.label i.presub2hf##ib1.treathf##ib4.label i.presub1hf##ib1.treathf##ib4.label i.sub1hf##ib1.treathf##ib4.label i.sub2hf##ib1.treathf##ib4.label i.sub3hf##ib1.treathf##ib4.label i.sub4hf##ib1.treathf##ib4.label i.postsub1hf##ib1.treathf##ib4.label  mage mage2  , absorb(id2 cmlt) cluster(id)
> est store subu3
> 
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu3       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="s"
>                 gen label="a3"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, UNIT SALES, SUBSIDIZED, A++
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib3.label i.presub2hf##ib1.treathf##ib3.label i.presub1hf##ib1.treathf##ib3.label i.sub1hf##ib1.treathf##ib3.label i.sub2hf##ib1.treathf##ib3.label i.sub3hf##ib1.treathf##ib3.label i.sub4hf##ib1.treathf##ib3.label i.postsub1hf##ib1.treathf##ib3.label  mage mage2  , absorb(id2 cmlt) cluster(id)      
> est store subu2
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu2       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu2       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="s"
>                 gen label="a2"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, UNIT SALES, SUBSIDIZED, A+
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib2.label i.presub2hf##ib1.treathf##ib2.label i.presub1hf##ib1.treathf##ib2.label i.sub1hf##ib1.treathf##ib2.label i.sub2hf##ib1.treathf##ib2.label i.sub3hf##ib1.treathf##ib2.label i.sub4hf##ib1.treathf##ib2.label i.postsub1hf##ib1.treathf##ib2.label  mage mage2  , absorb(id2 cmlt) cluster(id)      
> est store subu1
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu1       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu1       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="s"
>                 gen label="a1"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, PRICES, SUBSIDIZED, A+++
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib4.label i.presub2hf##ib1.treathf##ib4.label i.presub1hf##ib1.treathf##ib4.label i.sub1hf##ib1.treathf##ib4.label i.sub2hf##ib1.treathf##ib4.label i.sub3hf##ib1.treathf##ib4.label i.sub4hf##ib1.treathf##ib4.label i.postsub1hf##ib1.treathf##ib4.label  mage mage2  , absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
>                 
> 
> quietly reghdfe dlogprice i.presub3hf##ib1.treathf##ib4.label i.presub2hf##ib1.treathf##ib4.label i.presub1hf##ib1.treathf##ib4.label i.sub1hf##ib1.treathf##ib4.label i.sub2hf##ib1.treathf##ib4.label i.sub3hf##ib1.treathf##ib4.label i.sub4hf##ib1.treathf##ib4.label i.postsub1hf##ib1.treathf##ib4.label  mage mage2  if  samplel, absorb(id2 cmlt) cluster(id)
> est store subu3
> 
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu3       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu3               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="sp"
>                 gen label="a3"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3_p.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, PRICES, SUBSIDIZED, A++
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib4.label i.presub2hf##ib1.treathf##ib4.label i.presub1hf##ib1.treathf##ib4.label i.sub1hf##ib1.treathf##ib4.label i.sub2hf##ib1.treathf##ib4.label i.sub3hf##ib1.treathf##ib4.label i.sub4hf##ib1.treathf##ib4.label i.postsub1hf##ib1.treathf##ib4.label  mage mage2  , absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
> 
> quietly reghdfe dlogprice i.presub3hf##ib1.treathf##ib3.label i.presub2hf##ib1.treathf##ib3.label i.presub1hf##ib1.treathf##ib3.label i.sub1hf##ib1.treathf##ib3.label i.sub2hf##ib1.treathf##ib3.label i.sub3hf##ib1.treathf##ib3.label i.sub4hf##ib1.treathf##ib3.label i.postsub1hf##ib1.treathf##ib3.label  mage mage2  if  samplel, absorb(id2 cmlt) cluster(id)   
> est store subu2
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu2       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu2       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu2               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="sp"
>                 gen label="a2"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2_p.dta", replace
>         
> restore 
> 
> preserve
> 
> egen cmt=group(country month treathf)
> egen cmlt=group(country month energy_label_eu treathf)
> 
> ***HUNGARY, 2016, PRICES, SUBSIDIZED, A+
> 
> quietly reghdfe dlogunits i.presub3hf##ib1.treathf##ib4.label i.presub2hf##ib1.treathf##ib4.label i.presub1hf##ib1.treathf##ib4.label i.sub1hf##ib1.treathf##ib4.label i.sub2hf##ib1.treathf##ib4.label i.sub3hf##ib1.treathf##ib4.label i.sub4hf##ib1.treathf##ib4.label i.postsub1hf##ib1.treathf##ib4.label  mage mage2  , absorb(id2 cmlt) cluster(id)
> generate samplel=e(sample)
> 
> quietly reghdfe dlogprice i.presub3hf##ib1.treathf##ib2.label i.presub2hf##ib1.treathf##ib2.label i.presub1hf##ib1.treathf##ib2.label i.sub1hf##ib1.treathf##ib2.label i.sub2hf##ib1.treathf##ib2.label i.sub3hf##ib1.treathf##ib2.label i.sub4hf##ib1.treathf##ib2.label i.postsub1hf##ib1.treathf##ib2.label  mage mage2  if  samplel, absorb(id2 cmlt) cluster(id)
> est store subu1
> 
>         nlcom _b[1.presub3hf], post
>                 est store s1
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-3)       
>                 
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf], post
>                 est store s2
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-2)
>     
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf], post
>                 est store s3
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-1)       
> 
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf], post
>                 est store s4
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(0)        
>                 
> est restore subu1       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf], post
>                 est store s5
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(1)                        
>                 
> est restore subu1       
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf], post
>                 est store s6
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(2)                        
>         
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf], post
>                 est store s7
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(3)        
>         
> est restore subu1               
>                 nlcom _b[1.presub3hf]+_b[1.presub2hf]+_b[1.presub1hf]+_b[1.sub1hf]+_b[1.sub2hf]+_b[1.sub3hf]+_b[1.sub4hf]+_b[1.postsub1hf], post
>                 est store s8
>                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(4)        
>         
>                 clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
> 
>         
>                 gen type="sp"
>                 gen label="a1"
>                 drop z p parm
>                 rename idstr month
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1_p.dta", replace
>         
> restore 
> 
> 
> preserve
> 
> clear all
>                 
>                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_3_p.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_2_p.dta"
>                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_1_p.dta"
> 
>                 gen program="hu16"
>                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2016_Coeff.dta", replace
> restore         
>                 
> ***A+++, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3hf##i.treathf##ib4.label i.presub2hf##i.treathf##ib4.label i.presub1hf##i.treathf##ib4.label i.sub1hf##i.treathf##ib4.label i.sub2hf##i.treathf##ib4.label i.sub3hf##i.treathf##ib4.label i.sub4hf##i.treathf##ib4.label i.postsub1hf##i.treathf##ib4.label  mage mage2  , absorb(id2 cmlt) cluster(id)
>                         
> ***A++, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3hf##i.treathf##ib3.label i.presub2hf##i.treathf##ib3.label i.presub1hf##i.treathf##ib3.label i.sub1hf##i.treathf##ib3.label i.sub2hf##i.treathf##ib3.label i.sub3hf##i.treathf##ib3.label i.sub4hf##i.treathf##ib3.label i.postsub1hf##i.treathf##ib3.label  mage mage2  , absorb(id2 cmlt) cluster(id)
>         
> **A+, NON-SUBSIDIZED
> *reghdfe dlogunits i.presub3hf##i.treathf##ib2.label i.presub2hf##i.treathf##ib2.label i.presub1hf##i.treathf##ib2.label i.sub1hf##i.treathf##ib2.label i.sub2hf##i.treathf##ib2.label i.sub3hf##i.treathf##ib2.label i.sub4hf##i.treathf##ib2.label i.postsub1hf##i.treathf##ib2.label  mage mage2  , absorb(id2 cmlt) cluster(id)
> 
>                 
> ***PRICES
> 
> ***A+++, NON-SUBSIDIZED
> *reghdfe dlogprice i.presub3hf##i.treathf##ib4.label i.presub2hf##i.treathf##ib4.label i.presub1hf##i.treathf##ib4.label i.sub1hf##i.treathf##ib4.label i.sub2hf##i.treathf##ib4.label i.sub3hf##i.treathf##ib4.label i.sub4hf##i.treathf##ib4.label i.postsub1hf##i.treathf##ib4.label  mage mage2 if  samplel , absorb(id2 cmlt) cluster(id)
>         
> ***A++, NON-SUBSIDIZED
> *reghdfe dlogprice i.presub3hf##i.treathf##ib3.label i.presub2hf##i.treathf##ib3.label i.presub1hf##i.treathf##ib3.label i.sub1hf##i.treathf##ib3.label i.sub2hf##i.treathf##ib3.label i.sub3hf##i.treathf##ib3.label i.sub4hf##i.treathf##ib3.label i.postsub1hf##i.treathf##ib3.label  mage mage2 if  samplel , absorb(id2 cmlt) cluster(id)
>         
> **A+, NON-SUBSIDIZED
> *reghdfe dlogprice i.presub3hf##i.treathf##ib2.label i.presub2hf##i.treathf##ib2.label i.presub1hf##i.treathf##ib2.label i.sub1hf##i.treathf##ib2.label i.sub2hf##i.treathf##ib2.label i.sub3hf##i.treathf##ib2.label i.sub4hf##i.treathf##ib2.label i.postsub1hf##i.treathf##ib2.label  mage mage2 if  samplel , absorb(id2 cmlt) cluster(id)
> 
> */
. 
. preserve 
{txt}
{com}. 
. ***CROATIA, 2015, UNIT SALES, SUBSIDIZED, WM
. 
. 
. egen cmt=group(country month treatc)
{txt}
{com}. keep if category=="washing machine"
{txt}(1,740,985 observations deleted)

{com}. 
. quietly reghdfe dlogunits i.presub6c##ib1.treatc i.presub5c##ib1.treatc i.presub4c##ib1.treatc i.presub3c##ib1.treatc i.presub2c##ib1.treatc i.presub1c##ib1.treatc i.sub1c##ib1.treatc i.postsub1c##ib1.treatc i.postsub2c##ib1.treatc i.postsub3c##ib1.treatc i.postsub4c##ib1.treatc i.postsub5c##ib1.treatc i.postsub6c##ib1.treatc  i.postsub7c##ib1.treatc i.postsub8c##ib1.treatc i.postsub9c##ib1.treatc i.postsub10c##ib1.treatc mage mage2  if country!="Hungary" , absorb (id2 cmt) cluster(id)
{txt}
{com}. est store subu
{txt}
{com}. 
.                 nlcom _b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}_b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1226061{col 26}{space 2} .1707724{col 37}{space 1}    0.72{col 46}{space 3}0.473{col 54}{space 4}-.2121017{col 67}{space 3} .4573139
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta", replace)        idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0666594{col 26}{space 2} .1487062{col 37}{space 1}   -0.45{col 46}{space 3}0.654{col 54}{space 4}-.3581181{col 67}{space 3} .2247994
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta", replace)        idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta{rm}
saved
{p_end}

{com}.         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .087067{col 26}{space 2} .1318368{col 37}{space 1}    0.66{col 46}{space 3}0.509{col 54}{space 4}-.1713283{col 67}{space 3} .3454624
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta", replace)        idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta", replace)        idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0203558{col 26}{space 2} .1193127{col 37}{space 1}   -0.17{col 46}{space 3}0.865{col 54}{space 4}-.2542043{col 67}{space 3} .2134927
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta", replace)        idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0962175{col 26}{space 2} .1390413{col 37}{space 1}   -0.69{col 46}{space 3}0.489{col 54}{space 4}-.3687335{col 67}{space 3} .1762984
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta", replace)        idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .8215839{col 26}{space 2} .1495831{col 37}{space 1}    5.49{col 46}{space 3}0.000{col 54}{space 4} .5284065{col 67}{space 3} 1.114761
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta", replace)        idstr(0)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta{rm}
saved
{p_end}

{com}.         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0223167{col 26}{space 2} .1707774{col 37}{space 1}   -0.13{col 46}{space 3}0.896{col 54}{space 4}-.3570343{col 67}{space 3} .3124008
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta", replace)        idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta{rm}
saved
{p_end}

{com}.         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0221681{col 26}{space 2} .1880136{col 37}{space 1}    0.12{col 46}{space 3}0.906{col 54}{space 4}-.3463318{col 67}{space 3} .3906681
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta", replace)        idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta{rm}
saved
{p_end}

{com}.         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.3831892{col 26}{space 2} .1916637{col 37}{space 1}   -2.00{col 46}{space 3}0.046{col 54}{space 4}-.7588431{col 67}{space 3}-.0075353
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta", replace)       idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .594919{col 26}{space 2} .1985184{col 37}{space 1}    3.00{col 46}{space 3}0.003{col 54}{space 4}   .20583{col 67}{space 3} .9840079
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta", replace)       idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0005581{col 26}{space 2} .2079631{col 37}{space 1}    0.00{col 46}{space 3}0.998{col 54}{space 4} -.407042{col 67}{space 3} .4081583
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta", replace)       idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .077231{col 26}{space 2} .2152059{col 37}{space 1}    0.36{col 46}{space 3}0.720{col 54}{space 4}-.3445648{col 67}{space 3} .4990267
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta", replace)       idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta{rm}
saved
{p_end}

{com}.         
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0049455{col 26}{space 2} .2262268{col 37}{space 1}    0.02{col 46}{space 3}0.983{col 54}{space 4}-.4384508{col 67}{space 3} .4483418
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta", replace)       idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2418489{col 26}{space 2} .2375329{col 37}{space 1}    1.02{col 46}{space 3}0.309{col 54}{space 4}-.2237071{col 67}{space 3} .7074048
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta", replace)       idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0626954{col 26}{space 2}  .242709{col 37}{space 1}    0.26{col 46}{space 3}0.796{col 54}{space 4}-.4130054{col 67}{space 3} .5383963
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta", replace)       idstr(9)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta{rm}
saved
{p_end}

{com}.                 
. est restore subu        
{txt}(results {stata estimates replay subu:subu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .1202746{col 26}{space 2} .2775992{col 37}{space 1}    0.43{col 46}{space 3}0.665{col 54}{space 4}-.4238099{col 67}{space 3}  .664359
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store s17
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s17.dta", replace)       idstr(10)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s17.dta{rm}
saved
{p_end}

{com}.                                                 
. *est restore subu       
. *lincom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])
.         
. *lincom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])
.                 
.         
.                 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s9.dta"  
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s16.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s17.dta"
{txt}
{com}.                 
.                 gen type="s"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve 
{txt}
{com}. 
. ***CROATIA, 2015, UNIT SALES, NON-SUBSIDIZED, WM
. 
. 
. egen cmt=group(country month treatc)
{txt}
{com}. keep if category=="washing machine"
{txt}(1,740,985 observations deleted)

{com}. 
. quietly reghdfe dlogunits i.presub6c##i.treatc i.presub5c##i.treatc i.presub4c##i.treatc i.presub3c##i.treatc i.presub2c##i.treatc i.presub1c##i.treatc i.sub1c##i.treatc i.postsub1c##i.treatc i.postsub2c##i.treatc i.postsub3c##i.treatc i.postsub4c##i.treatc i.postsub5c##i.treatc i.postsub6c##i.treatc i.postsub7c##i.treatc i.postsub8c##i.treatc i.postsub9c##i.treatc i.postsub10c##i.treatc mage mage2  if country!="Hungary" , absorb (id2 cmt) cluster(id)
{txt}
{com}. est store nonsubu
{txt}
{com}. 
. 
.         nlcom _b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}_b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0444453{col 26}{space 2} .1248702{col 37}{space 1}    0.36{col 46}{space 3}0.722{col 54}{space 4}-.2002958{col 67}{space 3} .2891864
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0372395{col 26}{space 2}  .113219{col 37}{space 1}   -0.33{col 46}{space 3}0.742{col 54}{space 4}-.2591447{col 67}{space 3} .1846658
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta", replace)       idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0181261{col 26}{space 2} .1089018{col 37}{space 1}    0.17{col 46}{space 3}0.868{col 54}{space 4}-.1953176{col 67}{space 3} .2315697
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .2027724{col 26}{space 2} .1135297{col 37}{space 1}    1.79{col 46}{space 3}0.074{col 54}{space 4}-.0197417{col 67}{space 3} .4252866
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0507119{col 26}{space 2} .1238897{col 37}{space 1}    0.41{col 46}{space 3}0.682{col 54}{space 4}-.1921075{col 67}{space 3} .2935314
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta", replace)       idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .415015{col 26}{space 2} .1499884{col 37}{space 1}    2.77{col 46}{space 3}0.006{col 54}{space 4} .1210432{col 67}{space 3} .7089869
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta", replace)       idstr(0)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .4460605{col 26}{space 2} .1520981{col 37}{space 1}    2.93{col 46}{space 3}0.003{col 54}{space 4} .1479538{col 67}{space 3} .7441672
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta", replace)       idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3978792{col 26}{space 2} .1581749{col 37}{space 1}    2.52{col 46}{space 3}0.012{col 54}{space 4}  .087862{col 67}{space 3} .7078963
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta", replace)       idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .3513559{col 26}{space 2}  .156412{col 37}{space 1}    2.25{col 46}{space 3}0.025{col 54}{space 4} .0447941{col 67}{space 3} .6579176
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta", replace)      idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 *nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post
.                 *est store ns11
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta", replace)     idstr(4)
.                 
. *est restore nonsubu    
.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1476857{col 26}{space 2} .1682694{col 37}{space 1}   -0.88{col 46}{space 3}0.380{col 54}{space 4}-.4774877{col 67}{space 3} .1821162
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta", replace)      idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0108463{col 26}{space 2} .1820156{col 37}{space 1}   -0.06{col 46}{space 3}0.952{col 54}{space 4}-.3675903{col 67}{space 3} .3458977
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1474618{col 26}{space 2}   .20047{col 37}{space 1}   -0.74{col 46}{space 3}0.462{col 54}{space 4}-.5403758{col 67}{space 3} .2454522
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta", replace)      idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0553058{col 26}{space 2} .1947146{col 37}{space 1}   -0.28{col 46}{space 3}0.776{col 54}{space 4}-.4369393{col 67}{space 3} .3263278
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta", replace)      idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0630259{col 26}{space 2} .1969998{col 37}{space 1}   -0.32{col 46}{space 3}0.749{col 54}{space 4}-.4491385{col 67}{space 3} .3230866
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta", replace)      idstr(9)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.1238741{col 26}{space 2} .2098205{col 37}{space 1}   -0.59{col 46}{space 3}0.555{col 54}{space 4}-.5351146{col 67}{space 3} .2873665
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store ns17
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns17.dta", replace)      idstr(10)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns17.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore nonsubu     
{txt}(results {stata estimates replay nonsubu:nonsubu} are active now)

{com}. lincom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2c + 1.presub1c + 1.sub1c + 1.postsub1c + 1.postsub2c + 1.postsub3c + 1.postsub4c = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogunits{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0477447{col 26}{space 2} .1729529{col 37}{space 1}   -0.28{col 46}{space 3}0.783{col 54}{space 4}-.3867984{col 67}{space 3} .2913089
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *lincom         (_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])     
.                 
. *lincom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])
. 
. *lincom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])
.                 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns9.dta" 
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns16.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns17.dta"
{txt}
{com}.                 
.                 gen type="ns"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve 
{txt}
{com}. 
. ***CROATIA, 2015, PRICES, SUBSIDIZED, WM
. 
. 
. egen cmt=group(country month treatc)
{txt}
{com}. keep if category=="washing machine"
{txt}(1,740,985 observations deleted)

{com}. 
. quietly reghdfe dlogunits i.presub6c##ib1.treatc i.presub5c##ib1.treatc i.presub4c##ib1.treatc i.presub3c##ib1.treatc i.presub2c##ib1.treatc i.presub1c##ib1.treatc i.sub1c##ib1.treatc i.postsub1c##ib1.treatc i.postsub2c##ib1.treatc i.postsub3c##ib1.treatc i.postsub4c##ib1.treatc i.postsub5c##ib1.treatc i.postsub6c##ib1.treatc i.postsub7c##ib1.treatc i.postsub8c##ib1.treatc i.postsub9c##ib1.treatc i.postsub10c##ib1.treatc mage mage2  if country!="Hungary" , absorb (id2 cmt) cluster(id)
{txt}
{com}. gen samples=e(sample)
{txt}
{com}. 
. 
. quietly reghdfe dlogprice i.presub6c##ib1.treatc i.presub5c##ib1.treatc i.presub4c##ib1.treatc i.presub3c##ib1.treatc i.presub2c##ib1.treatc i.presub1c##ib1.treatc i.sub1c##ib1.treatc i.postsub1c##ib1.treatc i.postsub2c##ib1.treatc i.postsub3c##ib1.treatc i.postsub4c##ib1.treatc i.postsub5c##ib1.treatc i.postsub6c##ib1.treatc i.postsub7c##ib1.treatc i.postsub8c##ib1.treatc i.postsub9c##ib1.treatc i.postsub10c##ib1.treatc mage mage2  if country!="Hungary" & samples , absorb (id2 cmt) cluster(id)
{txt}
{com}. est store subp
{txt}
{com}. 
.                 nlcom _b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}_b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0190011{col 26}{space 2} .0152292{col 37}{space 1}   -1.25{col 46}{space 3}0.212{col 54}{space 4}-.0488498{col 67}{space 3} .0108477
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta", replace)       idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0148419{col 26}{space 2}  .014352{col 37}{space 1}   -1.03{col 46}{space 3}0.301{col 54}{space 4}-.0429713{col 67}{space 3} .0132875
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta", replace)       idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta{rm}
saved
{p_end}

{com}.         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0148709{col 26}{space 2} .0154088{col 37}{space 1}   -0.97{col 46}{space 3}0.334{col 54}{space 4}-.0450716{col 67}{space 3} .0153297
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta", replace)       idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta", replace)       idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.005763{col 26}{space 2} .0109309{col 37}{space 1}   -0.53{col 46}{space 3}0.598{col 54}{space 4} -.027187{col 67}{space 3} .0156611
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta", replace)       idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 *nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post
.                 *est store sp6
.                 *parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta", replace)      idstr(-1)               
.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0234468{col 26}{space 2} .0130057{col 37}{space 1}    1.80{col 46}{space 3}0.071{col 54}{space 4} -.002044{col 67}{space 3} .0489375
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta", replace)       idstr(0)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta{rm}
saved
{p_end}

{com}.         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0459429{col 26}{space 2} .0137018{col 37}{space 1}    3.35{col 46}{space 3}0.001{col 54}{space 4} .0190878{col 67}{space 3} .0727979
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta", replace)       idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta{rm}
saved
{p_end}

{com}.         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0335227{col 26}{space 2} .0147444{col 37}{space 1}    2.27{col 46}{space 3}0.023{col 54}{space 4} .0046242{col 67}{space 3} .0624213
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta", replace)       idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta{rm}
saved
{p_end}

{com}.         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}  .034637{col 26}{space 2} .0156591{col 37}{space 1}    2.21{col 46}{space 3}0.027{col 54}{space 4} .0039458{col 67}{space 3} .0653282
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta", replace)      idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0446961{col 26}{space 2} .0157016{col 37}{space 1}    2.85{col 46}{space 3}0.004{col 54}{space 4} .0139215{col 67}{space 3} .0754706
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta", replace)      idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0497149{col 26}{space 2} .0174216{col 37}{space 1}    2.85{col 46}{space 3}0.004{col 54}{space 4} .0155693{col 67}{space 3} .0838605
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta", replace)      idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0449445{col 26}{space 2} .0173885{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4} .0108637{col 67}{space 3} .0790254
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta", replace)      idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta{rm}
saved
{p_end}

{com}.         
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0205314{col 26}{space 2} .0192232{col 37}{space 1}    1.07{col 46}{space 3}0.285{col 54}{space 4}-.0171454{col 67}{space 3} .0582083
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta", replace)      idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0207238{col 26}{space 2} .0210435{col 37}{space 1}    0.98{col 46}{space 3}0.325{col 54}{space 4}-.0205208{col 67}{space 3} .0619683
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta", replace)      idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0083008{col 26}{space 2} .0219704{col 37}{space 1}    0.38{col 46}{space 3}0.706{col 54}{space 4}-.0347603{col 67}{space 3} .0513619
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta", replace)      idstr(9)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta{rm}
saved
{p_end}

{com}.                 
. est restore subp        
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0338279{col 26}{space 2} .0244821{col 37}{space 1}    1.38{col 46}{space 3}0.167{col 54}{space 4}-.0141561{col 67}{space 3}  .081812
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store sp17
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp17.dta", replace)      idstr(10)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp17.dta{rm}
saved
{p_end}

{com}.                                                 
. est restore subp                
{txt}(results {stata estimates replay subp:subp} are active now)

{com}.         lincom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.presub2c + 1.presub1c = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0052791{col 26}{space 2} .0130618{col 37}{space 1}   -0.40{col 46}{space 3}0.686{col 54}{space 4}-.0308852{col 67}{space 3}  .020327
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.         
.                 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp9.dta" 
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp16.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp17.dta"
{txt}
{com}.                 
.                 gen type="sp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve 
{txt}
{com}. 
. ***CROATIA, 2015, PRICES, NON-SUBSIDIZED, WM
. 
. 
. egen cmt=group(country month treatc)
{txt}
{com}. keep if category=="washing machine"
{txt}(1,740,985 observations deleted)

{com}. 
. 
. quietly reghdfe dlogunits i.presub6c##ib1.treatc i.presub5c##ib1.treatc i.presub4c##ib1.treatc i.presub3c##ib1.treatc i.presub2c##ib1.treatc i.presub1c##ib1.treatc i.sub1c##ib1.treatc i.postsub1c##ib1.treatc i.postsub2c##ib1.treatc i.postsub3c##ib1.treatc i.postsub4c##ib1.treatc i.postsub5c##ib1.treatc i.postsub6c##ib1.treatc i.postsub7c##ib1.treatc i.postsub8c##ib1.treatc i.postsub9c##ib1.treatc i.postsub10c##ib1.treatc mage mage2  if country!="Hungary" , absorb (id2 cmt) cluster(id)
{txt}
{com}. gen samples=e(sample)
{txt}
{com}. 
. quietly reghdfe dlogprice i.presub6c##i.treatc i.presub5c##i.treatc i.presub4c##i.treatc i.presub3c##i.treatc i.presub2c##i.treatc i.presub1c##i.treatc i.sub1c##i.treatc i.postsub1c##i.treatc i.postsub2c##i.treatc i.postsub3c##i.treatc i.postsub4c##i.treatc i.postsub5c##i.treatc i.postsub6c##i.treatc i.postsub7c##i.treatc i.postsub8c##i.treatc i.postsub9c##i.treatc i.postsub10c##i.treatc mage mage2  if country!="Hungary"  & samples, absorb (id2 cmt) cluster(id)
{txt}
{com}. est store nonsubp
{txt}
{com}. 
.         nlcom _b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}_b[1.presub6c]-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0175233{col 26}{space 2} .0113762{col 37}{space 1}    1.54{col 46}{space 3}0.123{col 54}{space 4}-.0047737{col 67}{space 3} .0398203
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp1
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta", replace)      idstr(-6)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0002498{col 26}{space 2} .0112963{col 37}{space 1}   -0.02{col 46}{space 3}0.982{col 54}{space 4}-.0223902{col 67}{space 3} .0218906
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp2
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta", replace)      idstr(-5)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0173537{col 26}{space 2} .0101932{col 37}{space 1}   -1.70{col 46}{space 3}0.089{col 54}{space 4}-.0373321{col 67}{space 3} .0026246
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp3
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta", replace)      idstr(-4)       
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp4
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta", replace)      idstr(-3)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0013493{col 26}{space 2} .0095456{col 37}{space 1}   -0.14{col 46}{space 3}0.888{col 54}{space 4}-.0200584{col 67}{space 3} .0173598
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp5
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta", replace)      idstr(-2)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} -.036227{col 26}{space 2} .0119241{col 37}{space 1}   -3.04{col 46}{space 3}0.002{col 54}{space 4}-.0595978{col 67}{space 3}-.0128562
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp6
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta", replace)      idstr(-1)               
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0242336{col 26}{space 2} .0140227{col 37}{space 1}   -1.73{col 46}{space 3}0.084{col 54}{space 4}-.0517176{col 67}{space 3} .0032504
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp7
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta", replace)      idstr(0)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0121124{col 26}{space 2} .0141841{col 37}{space 1}    0.85{col 46}{space 3}0.393{col 54}{space 4}-.0156879{col 67}{space 3} .0399127
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp8
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta", replace)      idstr(1)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0126802{col 26}{space 2}  .016065{col 37}{space 1}    0.79{col 46}{space 3}0.430{col 54}{space 4}-.0188066{col 67}{space 3}  .044167
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp9
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta", replace)      idstr(2)                
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0049694{col 26}{space 2}  .016927{col 37}{space 1}    0.29{col 46}{space 3}0.769{col 54}{space 4} -.028207{col 67}{space 3} .0381457
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp10
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta", replace)     idstr(3)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0104377{col 26}{space 2} .0195516{col 37}{space 1}    0.53{col 46}{space 3}0.593{col 54}{space 4}-.0278828{col 67}{space 3} .0487582
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp11
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta", replace)     idstr(4)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0250646{col 26}{space 2} .0180324{col 37}{space 1}    1.39{col 46}{space 3}0.165{col 54}{space 4}-.0102782{col 67}{space 3} .0604075
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp12
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta", replace)     idstr(5)        
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0258858{col 26}{space 2} .0183701{col 37}{space 1}    1.41{col 46}{space 3}0.159{col 54}{space 4} -.010119{col 67}{space 3} .0618907
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp13
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta", replace)     idstr(6)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta{rm}
saved
{p_end}

{com}.         
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0272727{col 26}{space 2} .0213772{col 37}{space 1}    1.28{col 46}{space 3}0.202{col 54}{space 4}-.0146258{col 67}{space 3} .0691711
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp14
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta", replace)     idstr(7)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp     
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0154375{col 26}{space 2} .0209468{col 37}{space 1}    0.74{col 46}{space 3}0.461{col 54}{space 4}-.0256174{col 67}{space 3} .0564925
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp15
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta", replace)     idstr(8)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2} .0131638{col 26}{space 2} .0215211{col 37}{space 1}    0.61{col 46}{space 3}0.541{col 54}{space 4}-.0290168{col 67}{space 3} .0553443
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp16
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta", replace)     idstr(9)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta{rm}
saved
{p_end}

{com}.                 
. est restore nonsubp
{txt}(results {stata estimates replay nonsubp:nonsubp} are active now)

{com}.                 nlcom  (_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]), post

       {txt}_nl_1: {res}(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c]+_b[1.presub2c]+_b[1.presub1c]+_b[1.sub1c]+_b[1.postsub1c]+_b[1.postsub2c]+_b[1.postsub3c]+_b[1.postsub4c]+_b[1.postsub5c]+_b[1.postsub6c]+_b[1.postsub7c]+_b[1.postsub8c]+_b[1.postsub9c]+_b[1.postsub10c])-(_b[1.presub6c]+_b[1.presub5c]+_b[1.presub4c]+_b[1.presub3c])

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   dlogprice{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}_nl_1 {c |}{col 14}{res}{space 2}-.0043515{col 26}{space 2} .0237703{col 37}{space 1}   -0.18{col 46}{space 3}0.855{col 54}{space 4}-.0509404{col 67}{space 3} .0422375
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}.                 est store nsp17
{txt}
{com}.                 parmest, format(estimate min95 max95) saving("R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp17.dta", replace)     idstr(10)
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp17.dta{rm}
saved
{p_end}

{com}.                                                 
.                 
.                 
.         
.                 
.                 clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp1.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp2.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp3.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp4.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp5.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp7.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp8.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp9.dta"        
{txt}
{com}.             append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp10.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp11.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp12.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp13.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp14.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp15.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp16.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp17.dta"
{txt}
{com}.                 
.                 gen type="nsp"
{txt}
{com}.                 gen label="all"
{txt}
{com}.                 drop z p parm
{txt}
{com}.                 rename idstr month
{res}{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta{rm}
saved
{p_end}

{com}.         
. restore 
{txt}
{com}. 
. preserve
{txt}
{com}. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\s_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\ns_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str1}, now {bf:str2} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\sp_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\nsp_6.dta"
{txt}{p 0 7 2}
(variable
{bf:type} was {bf:str2}, now {bf:str3} to accommodate using data's values)
{p_end}

{com}.                 
. 
.                 gen program="hr15"
{txt}
{com}.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HR_2015_Coeff_6.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HR_2015_Coeff_6.dta{rm}
saved
{p_end}

{com}. 
. restore
{txt}
{com}. 
. preserve
{txt}
{com}. 
. clear all
{res}{txt}
{com}.                 
.                 use "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2009_Coeff_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_ff_Coeff_6.dta"
{txt}{p 0 7 2}
(variable
{bf:program} was {bf:str4}, now {bf:str6} to accommodate using data's values)
{p_end}

{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\AT_2010_wm_Coeff_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2015_Coeff_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HU_2016_Coeff_6.dta"
{txt}
{com}.                 append using "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\HR_2015_Coeff_6.dta"
{txt}
{com}.                 
.                 save "R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\Estimates_for_plots_6_new_reference.dta", replace
{txt}{p 0 4 2}
file {bf}
R:\WSV2\TBu_BMa\Subsidies Project\Data Subsidies\Estimates_for_plots_6_new_reference.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}R:\WSV2\TBu_BMa\Subsidies Project\Results\Estimates_for_plots_longer_wondow_new_ref3.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}15 Jun 2023, 10:29:50
{txt}{.-}
{smcl}
{txt}{sf}{ul off}